diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-09-18 22:18:27 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-09-18 22:18:27 +0000 |
commit | 3c9bb62a51cfcbd9a4a7dcf6a8e29657c6ee1ad2 (patch) | |
tree | 6d9bf0b4ceb2cf06b8c2a037485277253cbcb7a0 /tipper/tipper.cpp | |
parent | 89c31c8a1ea2d6d0ab609e47768fc8ab5cff1f0d (diff) |
Added ability to display contact time in tooltips
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@535 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'tipper/tipper.cpp')
-rw-r--r-- | tipper/tipper.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tipper/tipper.cpp b/tipper/tipper.cpp index cfa08e9..6a8600a 100644 --- a/tipper/tipper.cpp +++ b/tipper/tipper.cpp @@ -26,7 +26,8 @@ HANDLE hAvChangeEvent = 0, hAvContactChangeEvent = 0, hShowTipEvent = 0, hHideTi HANDLE hShowTipService = 0, hShowTipWService = 0, hHideTipService = 0;
-struct MM_INTERFACE memoryManagerInterface = {0};
+MM_INTERFACE mmi;
+TIME_API tmi;
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
@@ -403,9 +404,8 @@ extern "C" int TIPPER_API Load(PLUGINLINK *link) { char szVer[128];
unicode_system = (CallService(MS_SYSTEM_GETVERSIONTEXT, (WPARAM)sizeof(szVer), (LPARAM)szVer) == 0 && strstr(szVer, "Unicode"));
- // get the internal malloc/free()
- memoryManagerInterface.cbSize = sizeof(memoryManagerInterface);
- CallService(MS_SYSTEM_GET_MMI, 0, (LPARAM)&memoryManagerInterface);
+ mir_getMMI(&mmi);
+ mir_getTMI(&tmi);
// don't save status messages
CallService(MS_DB_SETSETTINGRESIDENT, (WPARAM)TRUE, (LPARAM)MODULE "/TempStatusMsg");
|