summaryrefslogtreecommitdiff
path: root/plugins/SimpleStatusMsg/src/commonheaders.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-03-09 12:50:50 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-03-09 12:50:50 +0000
commitc11aeb37af849927d5cba20275aa118ae127d756 (patch)
tree9f7daf3ec66d8752487da00053843ba528b04f3c /plugins/SimpleStatusMsg/src/commonheaders.h
parente1814c1359bbf11a53203bb9cebbba22f87150fd (diff)
added precompiled header
added version info git-svn-id: http://svn.miranda-ng.org/main/trunk@3938 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SimpleStatusMsg/src/commonheaders.h')
-rw-r--r--plugins/SimpleStatusMsg/src/commonheaders.h41
1 files changed, 19 insertions, 22 deletions
diff --git a/plugins/SimpleStatusMsg/src/commonheaders.h b/plugins/SimpleStatusMsg/src/commonheaders.h
index 843a3555fa..5b6128774c 100644
--- a/plugins/SimpleStatusMsg/src/commonheaders.h
+++ b/plugins/SimpleStatusMsg/src/commonheaders.h
@@ -18,48 +18,45 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-// to enable all 0.9.0 core functions
-#define MIRANDA_VER 0x0A00
-// to enable custom langpacks
-#define MIRANDA_CUSTOM_LP
-
#define _WIN32_IE 0x0501
#define _CRT_SECURE_NO_WARNINGS
-#include <m_stdhdr.h>
-
#include <windows.h>
-#include <commctrl.h>
-#include <stdio.h>
-#include <string.h>
#include <time.h>
#include <newpluginapi.h>
-#include <m_button.h>
-#include <m_clist.h>
#include <m_clistint.h>
#include <m_skin.h>
-#include <m_system_cpp.h>
#include <m_options.h>
#include <m_langpack.h>
#include <m_protosvc.h>
-#include <m_utils.h>
#include <m_database.h>
#include <m_awaymsg.h>
#include <m_idle.h>
#include <m_icolib.h>
-#include <m_protoint.h>
#include <m_hotkeys.h>
#include <m_icq.h>
#include <win2k.h>
-#include "../../protocols/IcqOscarJ/src/icq_constants.h"
-#include "m_fortunemsg.h"
-#include "m_statusplugins.h"
-#include "m_toptoolbar.h"
-#include "m_variables.h"
-#include "m_simpleaway.h"
-#include "m_simplestatusmsg.h"
+#include <m_fortunemsg.h>
+#include <m_statusplugins.h>
+#include <m_toptoolbar.h>
+#include <m_variables.h>
+#include <m_simpleaway.h>
+#include <m_simplestatusmsg.h>
+#include "simplestatusmsg.h"
#include "resource.h"
+#include "Version.h"
+
+#define MTYPE_AUTOONLINE 0xE7 // Auto online message (internal only)
+#define MTYPE_AUTOAWAY 0xE8 // Auto away message
+#define MTYPE_AUTOBUSY 0xE9 // Auto occupied message
+#define MTYPE_AUTONA 0xEA // Auto not available message
+#define MTYPE_AUTODND 0xEB // Auto do not disturb message
+#define MTYPE_AUTOFFC 0xEC // Auto free for chat message
+
+extern UINT_PTR g_uUpdateMsgTimer;
+extern VOID CALLBACK UpdateMsgTimerProc(HWND, UINT, UINT_PTR, DWORD);
+extern VOID APIENTRY HandlePopupMenu(HWND hwnd, POINT pt, HWND edit_control);