summaryrefslogtreecommitdiff
path: root/plugins/Msg_Export/src/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-10 14:42:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-10 14:42:51 +0000
commit33953cc6a0fab6a91af293c6838f8a46dd7922da (patch)
tree2dbbe718ad42545bde6c9f7672387827c530550a /plugins/Msg_Export/src/options.cpp
parente190a7fde521bd6af9ea485cc730f854aaf38e11 (diff)
HCONTACT, part 3
git-svn-id: http://svn.miranda-ng.org/main/trunk@8081 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Msg_Export/src/options.cpp')
-rwxr-xr-xplugins/Msg_Export/src/options.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/plugins/Msg_Export/src/options.cpp b/plugins/Msg_Export/src/options.cpp
index 30b37937d8..a56473331b 100755
--- a/plugins/Msg_Export/src/options.cpp
+++ b/plugins/Msg_Export/src/options.cpp
@@ -54,24 +54,24 @@ BOOL bUnaplyedChanges = FALSE;
class CLDBEvent
{
- DWORD time;
- public:
- HANDLE hUser;
- HANDLE hDbEvent;
+ DWORD time;
+public:
+ HCONTACT hUser;
+ HANDLE hDbEvent;
- CLDBEvent( HANDLE hU, HANDLE hDBE )
- {
- hUser = hU;
- hDbEvent = hDBE;
+ CLDBEvent(HCONTACT hU, HANDLE hDBE )
+ {
+ hUser = hU;
+ hDbEvent = hDBE;
- DBEVENTINFO dbei = { sizeof(dbei) };
- db_event_get(hDbEvent, &dbei);
- time = dbei.timestamp;
- }
- bool operator <(const CLDBEvent& rOther) const
- {
- return time < rOther.time;
- }
+ DBEVENTINFO dbei = { sizeof(dbei) };
+ db_event_get(hDbEvent, &dbei);
+ time = dbei.timestamp;
+ }
+ bool operator <(const CLDBEvent& rOther) const
+ {
+ return time < rOther.time;
+ }
};
/////////////////////////////////////////////////////////////////////
@@ -227,7 +227,7 @@ int nExportCompleatList(HWND hParent, bool bOnlySelected )
HANDLE hDbEvent = db_event_first(hContact);
while( hDbEvent) {
- rclCurList.push_back( CLDBEvent( hContact, hDbEvent));
+ rclCurList.push_back(CLDBEvent(hContact, hDbEvent));
hDbEvent = db_event_next(hDbEvent);
}