summaryrefslogtreecommitdiff
path: root/include/delphi/m_dbeditor.inc
blob: 60530a1e61af565c758c76b3681c2dae1e15d2f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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}