summaryrefslogtreecommitdiff
path: root/protocols/Dummy/src/dummy.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-10-25 11:41:14 +0000
committerRobert Pösel <robyer@seznam.cz>2015-10-25 11:41:14 +0000
commit55dc3a99af44bb97931bdeca9122d0d62f7b183f (patch)
tree9b685ccc08282402d343bfcd131d6a77f8b038fa /protocols/Dummy/src/dummy.h
parent7d5f7b0fac50a1c6972c48664797f33f180243ee (diff)
Dummy: Support for sending messages (with option to enable it)
git-svn-id: http://svn.miranda-ng.org/main/trunk@15614 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Dummy/src/dummy.h')
-rw-r--r--protocols/Dummy/src/dummy.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/protocols/Dummy/src/dummy.h b/protocols/Dummy/src/dummy.h
index 34f2ad3a7d..d9e22c2736 100644
--- a/protocols/Dummy/src/dummy.h
+++ b/protocols/Dummy/src/dummy.h
@@ -22,6 +22,15 @@ extern HINSTANCE hInst;
#define DUMMY_ID_TEMPLATE "Template"
#define DUMMY_ID_TEXT "UniqueIdText"
#define DUMMY_ID_SETTING "UniqueIdSetting"
+#define DUMMY_KEY_ALLOW_SENDING "AllowSending"
+
+struct message_data
+{
+ message_data(MCONTACT hContact, const std::string &msg, int msgid) : hContact(hContact), msg(msg), msgid(msgid) {}
+ MCONTACT hContact;
+ std::string msg;
+ int msgid;
+};
typedef struct {
const char *name;