diff options
author | George Hazan <george.hazan@gmail.com> | 2013-02-10 22:08:39 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-02-10 22:08:39 +0000 |
commit | 301a0597925ba74ee1d8f1dc77a48f5b659fbbee (patch) | |
tree | 6af54d74728829bd4a595e040e10e23f3dbbd0d2 /include | |
parent | e362794bca84f8186225d5a2ae7479709f40ea4b (diff) |
STATIC_PLUGIN : 0x0002 flag added to PLUGININFOEX.flags to mark plugins loaded by the core
git-svn-id: http://svn.miranda-ng.org/main/trunk@3547 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/delphi/m_api.pas | 5 | ||||
-rw-r--r-- | include/newpluginapi.h | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/include/delphi/m_api.pas b/include/delphi/m_api.pas index 9aca7006a8..44cd82c311 100644 --- a/include/delphi/m_api.pas +++ b/include/delphi/m_api.pas @@ -67,7 +67,7 @@ type // delphi 64 must have these types anyway
int_ptr = integer;
uint_ptr = cardinal;
-
+
{$ENDIF}
long = longint;
plong = ^long;
@@ -106,6 +106,7 @@ type {-- start newpluginapi --}
const
UNICODE_AWARE = 1;
+ STATIC_PLUGIN = 2;
// The UUID structure below is used to for plugin UUID's and module type definitions
type
@@ -160,7 +161,7 @@ const ME_SYSTEM_MODULEUNLOAD:pAnsiChar = 'Miranda/System/UnloadModule';
{
- Each service mode plugin must implement MS_SERVICEMODE_LAUNCH
+ Each service mode plugin must implement MS_SERVICEMODE_LAUNCH
This service might return one of the following values:
SERVICE_CONTINUE - load Miranda normally, like there's no service plugins at all
SERVICE_ONLYDB - load database and then execute service plugin only
diff --git a/include/newpluginapi.h b/include/newpluginapi.h index 8f3313c897..8ba459b730 100644 --- a/include/newpluginapi.h +++ b/include/newpluginapi.h @@ -30,11 +30,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define MAXMODULELABELLENGTH 64
#if defined(_UNICODE)
- #define UNICODE_AWARE 1
+ #define UNICODE_AWARE 0x0001
#else
- #define UNICODE_AWARE 0
+ #define UNICODE_AWARE 0x0000
#endif
+#define STATIC_PLUGIN 0x0002
+
/* The UUID structure below is used to for plugin UUID's and module type definitions */
typedef struct _MUUID {
unsigned long a;
|