summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/CEvent.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-10-29 18:17:04 +0000
committerRobert Pösel <robyer@seznam.cz>2013-10-29 18:17:04 +0000
commit4d01f5f5096cb4d22c4a7ba17cc82977c7f5f19b (patch)
tree9353d79ddff12a1c2ced3e300d61a516f2572fb5 /plugins/MirandaG15/src/CEvent.h
parent2307fd7414d16d4ff936607a215e9a2ca0294741 (diff)
Adopted MirandaG15 plugin
First compilable version and 32-bit only. git-svn-id: http://svn.miranda-ng.org/main/trunk@6681 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirandaG15/src/CEvent.h')
-rw-r--r--plugins/MirandaG15/src/CEvent.h71
1 files changed, 71 insertions, 0 deletions
diff --git a/plugins/MirandaG15/src/CEvent.h b/plugins/MirandaG15/src/CEvent.h
new file mode 100644
index 0000000000..cf23af037e
--- /dev/null
+++ b/plugins/MirandaG15/src/CEvent.h
@@ -0,0 +1,71 @@
+#ifndef _CEVENT_H_
+#define _CEVENT_H_
+
+enum EventType { EVENT_MSG_RECEIVED = 0,
+ EVENT_MSG_SENT = 3,
+ EVENT_MESSAGE_ACK = 4,
+ EVENT_STATUS = 1,
+ EVENT_MSG_ACK = 2,
+
+ EVENT_URL = 5,
+ EVENT_FILE = 6,
+ EVENT_AUTHREQUEST = 7,
+ EVENT_CONTACTS = 8,
+ EVENT_ADDED = 9,
+
+ EVENT_CONTACT_ADDED = 10,
+ EVENT_CONTACT_DELETED = 11,
+ EVENT_CONTACT_NICK = 12,
+ EVENT_CONTACT_HIDDEN = 13,
+ EVENT_CONTACT_GROUP = 14,
+
+ EVENT_SIGNED_ON = 15,
+ EVENT_SIGNED_OFF = 16,
+
+ EVENT_PROTO_STATUS = 17,
+ EVENT_PROTO_CONNECTED = 18,
+ EVENT_PROTO_DISCONNECTED = 19,
+
+ EVENT_TYPING_NOTIFICATION = 20,
+ EVENT_MESSAGEWINDOW = 21,
+ EVENT_IRC_SENT = 22,
+ EVENT_IRC_RECEIVED = 23};
+
+#define MSG_READ 0
+#define MSG_UNREAD 1
+
+class CEvent
+{
+public:
+ CEvent()
+ {
+ bTime = false;
+ dwFlags = NULL;
+ hContact = NULL;
+ bNotification = false;
+ bLog = true;
+ strDescription = _T("");
+
+ iValue = NULL;
+ hValue = NULL;
+ strValue = _T("");
+ }
+
+ enum EventType eType;
+ DWORD dwFlags;
+ HANDLE hContact;
+ tm Time;
+ bool bTime;
+
+ bool bNotification;
+ bool bLog;
+
+ tstring strDescription;
+ tstring strSummary;
+
+ HANDLE hValue;
+ int iValue;
+ tstring strValue;
+};
+
+#endif \ No newline at end of file