From 57d7a593cb444941ade06bde7911aaa77d431cc4 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 15 Oct 2013 11:45:00 +0000 Subject: code cleanup registermodule service removed git-svn-id: http://svn.miranda-ng.org/main/trunk@6497 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ExternalAPI/delphi/m_dbeditor.inc | 21 ------------- plugins/ExternalAPI/delphi/m_rssnews.inc | 51 ------------------------------- plugins/ExternalAPI/m_svc_dbepp.h | 21 ------------- 3 files changed, 93 deletions(-) delete mode 100644 plugins/ExternalAPI/delphi/m_rssnews.inc (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/delphi/m_dbeditor.inc b/plugins/ExternalAPI/delphi/m_dbeditor.inc index 60530a1e61..e6e9a0c5c8 100644 --- a/plugins/ExternalAPI/delphi/m_dbeditor.inc +++ b/plugins/ExternalAPI/delphi/m_dbeditor.inc @@ -2,27 +2,6 @@ {$DEFINE M_DBEDITOR} const -{ - wParam: Module name - lParam: 0 - Affect: Register single module as 'known' - Note: must be used after or in ME_SYSTEM_MODULESLOADED -} - MS_DBEDIT_REGISTERSINGLEMODULE:PAnsiChar = 'DBEditorpp/RegisterSingleModule'; - -{ - wParam: array with module names - lParam: count of module names - Affect: Register modules as 'known' - Note: must be used after or in ME_SYSTEM_MODULESLOADED - Example: - var mods:array [0..2] = ('Module1','Module2','Module3'); - ... - CallService(MS_DBEDIT_REGISTERMODULE,WPARAM(@mods),3); - -} - MS_DBEDIT_REGISTERMODULE:PAnsiChar = 'DBEditorpp/RegisterModule'; - { wParam: hContact lParam: 0 diff --git a/plugins/ExternalAPI/delphi/m_rssnews.inc b/plugins/ExternalAPI/delphi/m_rssnews.inc deleted file mode 100644 index cfe4fef5b3..0000000000 --- a/plugins/ExternalAPI/delphi/m_rssnews.inc +++ /dev/null @@ -1,51 +0,0 @@ -{ - RSSNews plugin - by Angelo Luiz Tartari -} - -{$IFNDEF M_RSSNEWS} -{$DEFINE M_RSSNEWS} - -const - -(* - Retrieve news. - wParam = (WPARAM)(HANDLE)hContact - lParam = 0 - Returns: 0 on success, -1 on error. -*) - MS_RSSNEWS_GETNEWS = 'RSSNews/GetNews'; - -(* - Retrieve news (all feeds). - wParam = 0 - lParam = 0 - Returns: 0 on success, -1 on error. -*) - MS_RSSNEWS_GETALLNEWS = 'RSSNews/GetAllNews'; - -(* - Brings up the add new feed dialog. - wParam = 0 - lParam = 0 - Returns: 0 on success, -1 on error. -*) - MS_RSSNEWS_ADDNEWFEED = 'RSSNews/AddNewFeed'; - -(* - Brings up the import dialog. - wParam = 0 - lParam = 0 - Returns: 0 on success, -1 on error. -*) - MS_RSSNEWS_IMPORT = 'RSSNews/Import'; - -(* - Brings up the export dialog. - wParam = 0 - lParam = 0 - Returns: 0 on success, -1 on error. -*) - MS_RSSNEWS_EXPORT = 'RSSNews/Export'; - -{$ENDIF} diff --git a/plugins/ExternalAPI/m_svc_dbepp.h b/plugins/ExternalAPI/m_svc_dbepp.h index d4afd1c7d0..a165fd5e71 100644 --- a/plugins/ExternalAPI/m_svc_dbepp.h +++ b/plugins/ExternalAPI/m_svc_dbepp.h @@ -22,27 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef M_DBEDITOR #define M_DBEDITOR -/* -Register single module as 'known' -wParam=(char*)Module name -lParam=0 -always returns 0 -Note: must be used after or in ME_SYSTEM_MODULESLOADED -*/ -#define MS_DBEDIT_REGISTERSINGLEMODULE "DBEditorpp/RegisterSingleModule" - -/* -Register modules as 'known' -wParam=(char**)array with module names -lParam=(int)count of module names -always returns 0 -Note: must be used after or in ME_SYSTEM_MODULESLOADED -Example: - char * mods[3] = {"Module1", "Module2", "Module3"}; - CallService(MS_DBEDIT_REGISTERMODULE, (WPARAM)mods, (LPARAM)3); -*/ -#define MS_DBEDIT_REGISTERMODULE "DBEditorpp/RegisterModule" - /* Open user tree in DBE++ wParam=(HANDLE)hContact -- cgit v1.2.3