summaryrefslogtreecommitdiff
path: root/protocols/Dummy/src/dummy.h
diff options
context:
space:
mode:
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;