diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-27 21:51:46 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-27 21:51:46 +0000 |
commit | 1fb0cd07fba1e8d6f9ac2ebe3b4f2e1c60acb81b (patch) | |
tree | 904c95b33e03e806aea734552281257768273a14 /include | |
parent | a8e8aebfd4f53977873c72c2d828c2c1f505f10d (diff) |
- metacontacts are always present;
- added META_PROTO constant for mc module name;
- MS_MC_GETPROTOCOLNAME removed, because it always returns META_PROTO
git-svn-id: http://svn.miranda-ng.org/main/trunk@8319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/delphi/m_metacontacts.inc | 7 | ||||
-rw-r--r-- | include/m_metacontacts.h | 8 |
2 files changed, 6 insertions, 9 deletions
diff --git a/include/delphi/m_metacontacts.inc b/include/delphi/m_metacontacts.inc index c25dfeadc2..27912d1e4f 100644 --- a/include/delphi/m_metacontacts.inc +++ b/include/delphi/m_metacontacts.inc @@ -120,10 +120,6 @@ const lParam=0 }
ME_MC_UNFORCESEND = 'MetaContacts/UnforceSend';
- { method to get protocol name - used to be sure you're dealing with a "real" metacontacts plugin :)
- wParam=lParam=0 }
- MS_MC_GETPROTOCOLNAME = 'MetaContacts/GetProtoName';
-
{ wParam=(HANDLE)hContact
lParam=0
convert a given contact into a metacontact
@@ -153,6 +149,9 @@ const }
MS_MC_DISABLEHIDDENGROUP = 'MetaContacts/DisableHiddenGroup';
+const
+ META_PROTO = 'MetaContacts';
+
{ returns true if a contact is a metacontact or false otherwise
}
function db_mc_isMeta(hContact:MCONTACT):Integer; stdcall;
diff --git a/include/m_metacontacts.h b/include/m_metacontacts.h index 02d0fece6f..e652d09871 100644 --- a/include/m_metacontacts.h +++ b/include/m_metacontacts.h @@ -26,6 +26,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <m_core.h>
+// standard module for all mc-related information
+#define META_PROTO "MetaContacts"
+
//gets the handle for the default contact
//wParam=(HANDLE)hMetaContact
//lParam=0
@@ -124,11 +127,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // lParam=0
#define ME_MC_UNFORCESEND "MetaContacts/UnforceSend"
-// method to get protocol name - used to be sure you're dealing with a "real" metacontacts plugin :)
-// wParam=lParam=0
-#define MS_MC_GETPROTOCOLNAME "MetaContacts/GetProtoName"
-
-
// added 0.9.5.0 (22/3/05)
// wParam=(HANDLE)hContact
// lParam=0
|