summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2014-12-08 22:01:46 +0000
committerAlexey Kulakov <panda75@bk.ru>2014-12-08 22:01:46 +0000
commitef741fcb36d679b094e44d01714f423c34357383 (patch)
treec5eafbecef228ee771dbbf3e0422a63a7c38380e /plugins/ExternalAPI
parent03928a013fc148d5642942072bb573897e11c904 (diff)
damned compatibility
git-svn-id: http://svn.miranda-ng.org/main/trunk@11284 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r--plugins/ExternalAPI/delphi/m_actman.inc25
1 files changed, 17 insertions, 8 deletions
diff --git a/plugins/ExternalAPI/delphi/m_actman.inc b/plugins/ExternalAPI/delphi/m_actman.inc
index 768c70ea53..8498732ba8 100644
--- a/plugins/ExternalAPI/delphi/m_actman.inc
+++ b/plugins/ExternalAPI/delphi/m_actman.inc
@@ -4,14 +4,6 @@
// defined in interfaces.inc
//const MIID_ACTMANAGER:MUUID='{9584DA04-FB4F-40c1-9325-E4F9CAAFCB5D}';
-// Old Actman compatibility
-const
- DBBranch = 'ActMan';
-const
- ACCF_DISABLED = $10000000; // action disabled
- ACCF_OVERLOAD = $01000000; // imported action overwrite old
- ACCF_IMPORTED = $08000000;
-
// new and common Actman data
const
AutoStartName:PWideChar = '#Autostart';
@@ -20,6 +12,23 @@ const
ACCF_EXPORT = $08000000; // action to export (UA export)
ACCF_IMPORT = ACCF_EXPORT; // (UA import)
+//----- Old Actman compatibility -----
+const
+ DBBranch = 'ActMan';
+const
+ ACCF_DISABLED = $10000000; // action disabled
+ ACCF_OVERLOAD = $01000000; // imported action overwrite old
+ ACCF_IMPORTED = ACCF_EXPORT;
+ ACCF_VOLATILE = $04000000; // don't save in DB
+ ACCF_ID = $02000000; // for MS_ACT_SELECT, lParam is ID (else name)
+ ACCF_CLEAR = $01000000; // clear other flags, else - set
+ ACCF_FLAGS = ACCF_DISABLED or ACCF_EXPORT or ACCF_IMPORTED or ACCF_VOLATILE;
+const
+ ACTM_ACT = $10000000; // do not check, internal
+ ACTM_ACTS = $20000000; // do not check, internal
+ ACTM_RELOAD = $00000004;
+//----- End of compatibility block -----
+
type
pChain = ^tChain;
tChain = record