summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_api.pas5
-rw-r--r--include/newpluginapi.h6
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;