diff options
Diffstat (limited to 'lastseen-mod/seen.h')
-rw-r--r-- | lastseen-mod/seen.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/lastseen-mod/seen.h b/lastseen-mod/seen.h index ad1a301..4e38c29 100644 --- a/lastseen-mod/seen.h +++ b/lastseen-mod/seen.h @@ -19,18 +19,23 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. File name : $URL: http://svn.berlios.de/svnroot/repos/mgoodies/trunk/lastseen-mod/seen.h $
Revision : $Rev: 1570 $
-Last change on : $Date: 2007-12-30 00:30:07 +0200 (Вс, 30 дек 2007) $
+Last change on : $Date: 2007-12-30 01:30:07 +0300 (Вс, 30 дек 2007) $
Last change by : $Author: y_b $
*/
#ifndef _WIN32_IE
#define _WIN32_IE 0x0300
#endif
+#define ETDT_ENABLE 0x00000002
+#define ETDT_USETABTEXTURE 0x00000004
+#define ETDT_ENABLETAB (ETDT_ENABLE | ETDT_USETABTEXTURE)
+#define MIRANDA_VER 0x0900
+#define MIRANDA_CUSTOM_LP
+
#include <windows.h>
#include <win2k.h>
#include <commctrl.h>
#include <stdio.h>
#include <string.h>
-#include <uxtheme.h>
#include "resource.h"
#include <newpluginapi.h>
@@ -51,7 +56,7 @@ Last change by : $Author: y_b $ #include <m_popup.h>
#include <m_system.h>
-#include "../tipper/docs/m_tipper.h"
+#include "m_tipper.h"
WCHAR *any_to_IdleNotidleUnknown(HANDLE hContact, const char *module_name, const char *setting_name, WCHAR *buff, int bufflen);
WCHAR *any_to_Idle(HANDLE hContact, const char *module_name, const char *setting_name, WCHAR *buff, int bufflen);
@@ -61,8 +66,6 @@ WCHAR *any_to_Idle(HANDLE hContact, const char *module_name, const char *setting #define NUM100NANOSEC 116444736000000000
#endif
-#pragma optimize("gsy",on)
-
#define S_MOD "SeenModule"
//#define UM_CHECKHOOKS (WM_USER+1)
@@ -83,9 +86,9 @@ WCHAR *any_to_Idle(HANDLE hContact, const char *module_name, const char *setting #define ICON_INVIS 20
#define DEFAULT_MENUSTAMP "%d.%m.%Y - %H:%M [%s]"
-#define DEFAULT_POPUPSTAMP "%n is %s (%u)"
-#define DEFAULT_POPUPSTAMPTEXT "%i(%r)%bWas %o"
-#define DEFAULT_USERSTAMP "Name:%t%N%bStatus:%t%s%bDay:%t%d.%m.%Y%bTime:%t%H:%M:%S%bPrevious Status:%t%o%b%b%P ID:%t%u%bExternal IP:%t%i%bInternal IP:%t%r%bClientID: %t%C%b%bStatus Message:%t%T"
+#define DEFAULT_POPUPSTAMP Translate("%n is %s (%u)")
+#define DEFAULT_POPUPSTAMPTEXT Translate("%i(%r)%bWas %o")
+#define DEFAULT_USERSTAMP Translate("Name:%t%N%bStatus:%t%s%bDay:%t%d.%m.%Y%bTime:%t%H:%M:%S%bPrevious Status:%t%o%b%b%P ID:%t%u%bExternal IP:%t%i%bInternal IP:%t%r%bClientID: %t%C%b%bStatus Message:%t%T")
#define DEFAULT_FILESTAMP "%d.%m.%Y %H:%M:%S%t%n%t%s%t%u%t%r | %i%t%N"
#define DEFAULT_FILENAME "logs\\%P.txt"
#define DEFAULT_HISTORYSTAMP "%d.%m.%Y - %H:%M [%s]"
@@ -110,6 +113,8 @@ extern DWORD StatusColors15bits[]; void GetColorsFromDWord(LPCOLORREF First, LPCOLORREF Second, DWORD colDword);
DWORD GetDWordFromColors(COLORREF First, COLORREF Second);
+void UninitMenuitem();
+
BOOL includeIdle;
typedef struct logthread_info {
char sProtoName[MAXMODULELABELLENGTH];
|