diff options
Diffstat (limited to 'plugins/ExternalAPI/delphi/m_dbeditor.inc')
-rw-r--r-- | plugins/ExternalAPI/delphi/m_dbeditor.inc | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/plugins/ExternalAPI/delphi/m_dbeditor.inc b/plugins/ExternalAPI/delphi/m_dbeditor.inc new file mode 100644 index 0000000000..60530a1e61 --- /dev/null +++ b/plugins/ExternalAPI/delphi/m_dbeditor.inc @@ -0,0 +1,41 @@ +{$IFNDEF M_DBEDITOR}
+{$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
+ Affect: Open user tree in DBE++
+}
+ MS_DBEDIT_MENUCOMMAND:PAnsiChar = 'DBEditorpp/MenuCommand';
+
+{
+ Import settings\contacts from file
+ wParam=(HANDLE)hContact
+ lParam=(char*)FilePath
+ always returns 0
+}
+ MS_DBEDIT_IMPORT:PAnsiChar = 'DBEditorpp/Import';
+
+{$ENDIF}
|