summaryrefslogtreecommitdiff
path: root/plugins/QuickMessages/src/quickmessages.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/QuickMessages/src/quickmessages.h')
-rw-r--r--plugins/QuickMessages/src/quickmessages.h45
1 files changed, 15 insertions, 30 deletions
diff --git a/plugins/QuickMessages/src/quickmessages.h b/plugins/QuickMessages/src/quickmessages.h
index af7c4a5879..d68f03ee8b 100644
--- a/plugins/QuickMessages/src/quickmessages.h
+++ b/plugins/QuickMessages/src/quickmessages.h
@@ -16,36 +16,30 @@ 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, see <http://www.gnu.org/licenses/>.
*/
-#define _CRT_SECURE_NO_DEPRECATE
+#define _CRT_SECURE_NO_DEPRECATE
-#include <tchar.h>
#include <windows.h>
-#include "resource.h"
-#include <stdio.h>
#include <commctrl.h>
#include <Richedit.h>
-#define MIRANDA_VER 0x0A00
-#include "newpluginapi.h"
-#include "m_utils.h"
-#include "m_system.h"
-#include "m_clist.h"
-#include "m_options.h"
-#include "m_database.h"
-#include "m_protomod.h"
-#include "m_langpack.h"
-#include "m_icolib.h"
-#include "m_message.h"
-#include "m_contacts.h"
-#include "win2k.h"
+#include <newpluginapi.h>
+#include <m_clist.h>
+#include <m_options.h>
+#include <m_database.h>
+#include <m_protomod.h>
+#include <m_langpack.h>
+#include <m_icolib.h>
+#include <m_message.h>
+#include <m_contacts.h>
+#include <win2k.h>
-#include "Utils.h"
-#include "m_msg_buttonsbar.h"
+#include <m_msg_buttonsbar.h>
-#pragma optimize("gsy",on)
+#include "resource.h"
+#include "Version.h"
+#include "Utils.h"
-#define MODULENAME "Quick Messages"
#define PLGNAME "QuickMessages"
extern HINSTANCE hinstance;
@@ -61,12 +55,3 @@ int OptionsInit(WPARAM,LPARAM);
#define IDC_MESSAGE 1002
#define IDC_CHATMESSAGE 1009
-
-#define QMESSAGES_NAME "quickmessages"
-
-#define QMESSAGES_VERSION_URL "http://miranda.radicaled.ru/public/updater/quickmessages.txt"
-#define QMESSAGES_CHAGELOG_URL "http://miranda.radicaled.ru/public/quickmessages/changelog_en.txt"
-#define QMESSAGES_UPDATE_URL "http://miranda.radicaled.ru/public/quickmessages/"QMESSAGES_NAME".zip"
-#define QMESSAGES_UPDATE_URL "http://miranda.radicaled.ru/public/quickmessages/"QMESSAGES_NAME".zip"
-
-#define QMESSAGES_VERSION_PREFIX "QuickMessages "