/* Simple Status Message plugin for Miranda IM Copyright (C) 2006-2011 Bartosz 'Dezeath' Bia�ek, (C) 2005 Harven 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #define _CRT_SECURE_NO_WARNINGS #include <windows.h> #include <windowsx.h> #include <time.h> #include <newpluginapi.h> #include <m_database.h> #include <m_clistint.h> #include <m_skin.h> #include <m_options.h> #include <m_langpack.h> #include <m_protosvc.h> #include <m_utils.h> #include <m_awaymsg.h> #include <m_idle.h> #include <m_icolib.h> #include <m_hotkeys.h> #include <m_icq.h> #include <win2k.h> #include <m_statusplugins.h> #include <m_toptoolbar.h> #include <m_variables.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);