summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/dbevent.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-07-23 13:49:28 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-07-23 13:49:28 +0000
commita9580df150d799246eaecbf3c1fb5cecf9f8ab49 (patch)
treece046b1cd432d65718c9f6af80521d533ce6d4ca /plugins/SecureIM/dbevent.cpp
parent60338d55bb73d0c45b6e092703c4bb88a3c49755 (diff)
SecureIM, SeenPlugin, SendSS, Sessions: changed folder structure
git-svn-id: http://svn.miranda-ng.org/main/trunk@1122 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM/dbevent.cpp')
-rw-r--r--plugins/SecureIM/dbevent.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/plugins/SecureIM/dbevent.cpp b/plugins/SecureIM/dbevent.cpp
deleted file mode 100644
index 9b7d8f10c0..0000000000
--- a/plugins/SecureIM/dbevent.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-#include "commonheaders.h"
-
-
-void HistoryLog(HANDLE hContact, LPCSTR szText) {
-
- DBEVENTINFO dbei;
- memset(&dbei, 0, sizeof(dbei));
-
- dbei.cbSize = sizeof(dbei);
- dbei.szModule = (char *)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0);
- dbei.flags = DBEF_SENT|DBEF_READ;
- dbei.timestamp = time(NULL);
- dbei.eventType = EVENTTYPE_MESSAGE;
- dbei.cbBlob = (int)strlen(szText) + 1;
- dbei.pBlob = (PBYTE)szText;
-
- CallService(MS_DB_EVENT_ADD, (WPARAM)0, (LPARAM)&dbei);
-}
-
-
-// EOF