diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-11-18 20:37:19 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-11-18 20:37:19 +0000 |
commit | 0e80ad0d4c150fa947849cdad07a7d0d34d7340e (patch) | |
tree | 7034b8267ed219c615c4b135778e80a1ede16923 /plugins/!NotAdopted/sametime/places.cpp | |
parent | 8598a4a7a0bc922c4c1c768b55f596cc6d8a0d44 (diff) |
Add sametime protocol sources (not adopted)
git-svn-id: http://svn.miranda-ng.org/main/trunk@6935 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/sametime/places.cpp')
-rw-r--r-- | plugins/!NotAdopted/sametime/places.cpp | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/sametime/places.cpp b/plugins/!NotAdopted/sametime/places.cpp new file mode 100644 index 0000000000..9012c177f0 --- /dev/null +++ b/plugins/!NotAdopted/sametime/places.cpp @@ -0,0 +1,54 @@ +#include "places.h"
+
+mwServicePlace *service_places = 0;
+
+void mwServicePlace_opened(struct mwPlace *place) {
+}
+
+void mwServicePlace_closed(struct mwPlace *place, guint32 code) {
+}
+
+void mwServicePlace_peerJoined(struct mwPlace *place, const struct mwIdBlock *peer) {
+}
+
+
+void mwServicePlace_peerParted(struct mwPlace *place, const struct mwIdBlock *peer) {
+}
+
+
+void mwServicePlace_peerSetAttribute(struct mwPlace *place, const struct mwIdBlock *peer, guint32 attr, struct mwOpaque *o) {
+}
+
+
+void mwServicePlace_peerUnsetAttribute(struct mwPlace *place, const struct mwIdBlock *peer, guint32 attr) {
+}
+
+
+void mwServicePlace_message(struct mwPlace *place, const struct mwIdBlock *who, const char *msg) {
+}
+
+
+void mwServicePlace_clear(struct mwServicePlace *srvc) {
+}
+
+
+mwPlaceHandler mwPlace_handler = {
+ mwServicePlace_opened,
+ mwServicePlace_closed,
+ mwServicePlace_peerJoined,
+ mwServicePlace_peerParted,
+ mwServicePlace_peerSetAttribute,
+ mwServicePlace_peerUnsetAttribute,
+ mwServicePlace_message,
+ mwServicePlace_clear
+};
+
+void InitPlaces(mwSession *session) {
+ mwSession_addService(session, (mwService *)(service_places = mwServicePlace_new(session, &mwPlace_handler)));
+}
+
+void DeinitPlaces(mwSession *session) {
+ mwSession_removeService(session, mwService_PLACE);
+ mwService_free((mwService *)service_places);
+ service_places = 0;
+}
|