From 2d61d45eaaf04d7aa998d88de10cff110f3bb574 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 18 May 2012 07:34:01 +0000 Subject: old xml plugin deleted, solution files fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@32 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/xml/commonheaders.h | 17 --- plugins/xml/pack.cmd | 24 ---- plugins/xml/resource.h | 16 --- plugins/xml/resource.rc | 124 ---------------- plugins/xml/xml.cpp | 97 ------------- plugins/xml/xml.ico | Bin 2550 -> 0 bytes plugins/xml/xml.vcproj | 344 -------------------------------------------- 7 files changed, 622 deletions(-) delete mode 100644 plugins/xml/commonheaders.h delete mode 100644 plugins/xml/pack.cmd delete mode 100644 plugins/xml/resource.h delete mode 100644 plugins/xml/resource.rc delete mode 100644 plugins/xml/xml.cpp delete mode 100644 plugins/xml/xml.ico delete mode 100644 plugins/xml/xml.vcproj (limited to 'plugins/xml') diff --git a/plugins/xml/commonheaders.h b/plugins/xml/commonheaders.h deleted file mode 100644 index d6e5ecb1b5..0000000000 --- a/plugins/xml/commonheaders.h +++ /dev/null @@ -1,17 +0,0 @@ - -#if !defined( _UNICODE ) && defined( UNICODE ) - #define _UNICODE -#endif - -#include - -#include - -#include - -#include -#include -#include -#include - - diff --git a/plugins/xml/pack.cmd b/plugins/xml/pack.cmd deleted file mode 100644 index c2eef97cc6..0000000000 --- a/plugins/xml/pack.cmd +++ /dev/null @@ -1,24 +0,0 @@ -rem @echo off -nmake -f xml.mak CFG="xml - Win32 Release" -if errorlevel 1 ( - echo "Make failed" - goto :eof ) -nmake -f xml.mak CFG="xml - Win32 Release Unicode" -if errorlevel 1 ( - echo "Make failed" - goto :eof ) - -del "%temp%\xml.zip" > nul -del "%temp%\xmlW.zip" > nul -del "%temp%\xmlSrc.zip" > nul -del *.user > nul - -7z.exe a -tzip -r- -mx=9 "%temp%\xml.zip" ./Release/xml.dll -7z.exe a -tzip -r- -mx=9 "%temp%\xmlW.zip" ./Release_Unicode/xml.dll - -rd /S /Q Release -rd /S /Q Release_Unicode - -cd .. -7z.exe a -tzip -r0 -mx=9 "%temp%\xmlSrc.zip" -ir!xml/*.* -xr!.svn -x!*.cmd -goto :eof \ No newline at end of file diff --git a/plugins/xml/resource.h b/plugins/xml/resource.h deleted file mode 100644 index 8a1bd3c6fb..0000000000 --- a/plugins/xml/resource.h +++ /dev/null @@ -1,16 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by resource.rc -// -#define IDI_XML 102 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 102 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1041 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/plugins/xml/resource.rc b/plugins/xml/resource.rc deleted file mode 100644 index 419e5db6f5..0000000000 --- a/plugins/xml/resource.rc +++ /dev/null @@ -1,124 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "winres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Neutral (Default) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEUD) -#ifdef _WIN32 -LANGUAGE LANG_NEUTRAL, SUBLANG_DEFAULT -#pragma code_page(1251) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""winres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Neutral (Default) resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// French (Belgium) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRB) -#ifdef _WIN32 -LANGUAGE LANG_FRENCH, SUBLANG_FRENCH_BELGIAN -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 0,1,0,0 - PRODUCTVERSION 0,1,0,0 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x40004L - FILETYPE 0x2L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "000004b0" - BEGIN - VALUE "Comments", "Standard engine for xml parsing & creation" - VALUE "CompanyName", "Miranda community" - VALUE "FileDescription", "xml plugin for Miranda-IM" - VALUE "FileVersion", "0, 1, 0, 0" - VALUE "InternalName", "xml" - VALUE "LegalCopyright", "Copyright © 2008 George Hazan" - VALUE "OriginalFilename", "xml.dll" - VALUE "ProductName", "xml" - VALUE "ProductVersion", "0, 1, 0, 0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x0, 1200 - END -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_XML ICON "xml.ico" -#endif // French (Belgium) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/plugins/xml/xml.cpp b/plugins/xml/xml.cpp deleted file mode 100644 index ed4e49bf19..0000000000 --- a/plugins/xml/xml.cpp +++ /dev/null @@ -1,97 +0,0 @@ - -#include "commonheaders.h" -#include "resource.h" - -#if defined( _UNICODE ) - // {4AECBC63-49B9-40da-9212-FF5EBC85360E} - #define MIID_XML { 0x4aecbc63, 0x49b9, 0x40da, { 0x92, 0x12, 0xff, 0x5e, 0xbc, 0x85, 0x36, 0xe }} -#else - // {6E2C9F7C-5F3F-4dd3-A999-ED64B70BFC79} - #define MIID_XML { 0x6e2c9f7c, 0x5f3f, 0x4dd3, { 0xa9, 0x99, 0xed, 0x64, 0xb7, 0xb, 0xfc, 0x79 }} -#endif - -PLUGINLINK *pluginLink; -HINSTANCE hInst; - -void InitXmlApi( void ); - -PLUGININFO pluginInfo = { - sizeof(PLUGININFO), - "Core XML driver for Miranda version earlier than 0.8", - PLUGIN_MAKE_VERSION(0,1,0,0), - "Provides XML parsing & creation services", - "George Hazan", - "ghazan@miranda.im", - "é 2008 George Hazan", - "http://www.miranda-im.org", - UNICODE_AWARE, - 0 -}; - -PLUGININFOEX pluginInfoEx = { - sizeof(PLUGININFOEX), - "Core XML driver for Miranda version earlier than 0.8", - PLUGIN_MAKE_VERSION(0,1,0,0), - "Provides XML parsing & creation services", - "George Hazan", - "ghazan@miranda.im", - "é 2008 George Hazan", - "http://www.miranda-im.org", - UNICODE_AWARE, - 0, - MIID_XML -}; - -BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved) -{ - hInst = hinstDLL; - return TRUE; -} - -///////////////////////////////////////////////////////////////////////////////////////// -// MirandaPluginInfoEx - returns an information about a plugin - -extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) -{ - if (mirandaVersion >= PLUGIN_MAKE_VERSION(0, 8, 0, 0)) - return NULL; - - return &pluginInfoEx; -} - -extern "C" __declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion) -{ - if (mirandaVersion >= PLUGIN_MAKE_VERSION(0, 8, 0, 0)) - return NULL; - - return &pluginInfo; -} - -///////////////////////////////////////////////////////////////////////////////////////// -// MirandaPluginInterfaces - returns the protocol interface to the core - -static const MUUID interfaces[] = { MIID_XML, MIID_LAST }; - -extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) -{ - return interfaces; -} - -///////////////////////////////////////////////////////////////////////////////////////// -// Performs a primary set of actions upon plugin loading - -extern "C" int __declspec(dllexport) Load(PLUGINLINK *link) -{ - pluginLink = link; - - InitXmlApi(); - return 0; -} - -///////////////////////////////////////////////////////////////////////////////////////// -// Unload a plugin - -extern "C" int __declspec(dllexport) Unload(void) -{ - return 0; -} diff --git a/plugins/xml/xml.ico b/plugins/xml/xml.ico deleted file mode 100644 index 08c8a234fe..0000000000 Binary files a/plugins/xml/xml.ico and /dev/null differ diff --git a/plugins/xml/xml.vcproj b/plugins/xml/xml.vcproj deleted file mode 100644 index 09642b2fc9..0000000000 --- a/plugins/xml/xml.vcproj +++ /dev/null @@ -1,344 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.3