/* IEView history viewer plugin for Miranda IM Copyright © 2005-2006 Cristian Libotean This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef M_COMMON_HEADERS_H #define M_COMMON_HEADERS_H #define EVENTTYPE_STATUS 25368 //tabsrmm status events #define WINVER 0x0501 #define _WIN32_WINNT 0x0501 #define _WIN32_WINDOWS 0x0410 #define _WIN32_IE 0x0600 // Windows Header Files: #define WIN32_LEAN_AND_MEAN #include #include #include "prsht.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "resource.h" #include "version.h" #include "utils.h" #include "events.h" #include "dlgHandlers.h" static FILE* fopen_s2(const char* file,const char* mode){ FILE* ret=NULL; fopen_s(&ret,file,mode); return ret; } #define fopen fopen_s2 #define strcat strcat_s #define _vsnprintf _vsnprintf_s #define snprintf _snprintf_s #define snwprintf _snwprintf_s #define sprintf sprintf_s #define itow _itow_s #ifndef _UNICODE # define itot itoa # define sntprintf snprintf #else # define itot itow # define sntprintf snwprintf #endif extern HICON hIcon; //history icon extern int hLangpack; extern char ModuleName[]; extern HINSTANCE hInstance; //dll instance extern HANDLE hOpenWindowsList; extern PLUGININFOEX pluginInfo; extern BOOL (WINAPI *MyEnableThemeDialogTexture)(HANDLE, DWORD); #endif