// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#pragma once

#ifndef _WIN64
#define _USE_32BIT_TIME_T
#endif

#define WIN32_LEAN_AND_MEAN             // Exclude rarely-used stuff from Windows headers
// Windows Header Files:
#include <windows.h>
#include <windowsx.h>
#include <richedit.h>
#include <time.h>
#include <commctrl.h>
#include <commdlg.h>
#include <tom.h>
#include <richole.h>
#include <Shlobj.h>
#include <shellapi.h>

#include <map>
#include <unordered_set>
#include <vector>
#include <queue>
#include <locale>
#include <string>
#include <fstream>
#include <functional>

#include <newpluginapi.h>
#include <m_langpack.h>
#include <m_system.h>
#include <m_clist.h>
#include <m_skin.h>
#include <m_history.h>
#include <m_database.h>
#include <m_icolib.h>
#include <m_timezones.h>
#include <m_contacts.h>
#include <m_protocols.h>
#include <m_button.h>
#include <m_options.h>
#include <m_fontservice.h>
#include <m_hotkeys.h>
#include <m_message.h>
#include <m_protosvc.h>
#include <m_icq.h>
#include <m_clc.h>
#include <m_utils.h>
#include <m_popup.h>
#include <win2k.h>

#include "m_toptoolbar.h"
#include "m_smileyadd.h"
#include "m_metacontacts.h"

#include "../../libs/zlib/src/zconf.h"
#include "../../libs/zlib/src/ioapi.h"
#include "../../libs/zlib/src/zip.h"
#include "../../libs/zlib/src/unzip.h"
#include "../../libs/zlib/src/iowin32.h"

#include "version.h"
#include "HistoryWindow.h"
#include "resource.h"
#include "Options.h"

#define HISTORY_HK_FIND 100
#define HISTORY_HK_FINDNEXT 101
#define HISTORY_HK_FINDPREV 102
#define HISTORY_HK_MATCHCASE 103
#define HISTORY_HK_MATCHWHOLE 104
#define HISTORY_HK_SHOWCONTACTS 105
#define HISTORY_HK_ONLYIN 106
#define HISTORY_HK_ONLYOUT 107
#define HISTORY_HK_DELETE 108
#define HISTORY_HK_ONLYGROUP 109
#define HISTORY_HK_EXRHTML 110
#define HISTORY_HK_EXPHTML 111
#define HISTORY_HK_EXTXT 112
#define HISTORY_HK_EXBIN 113
#define HISTORY_HK_IMPBIN 114
#define HISTORY_HK_EXDAT 115
#define HISTORY_HK_IMPDAT 116
#define HISTORY_HK_ALLCONTACTS 117

HICON LoadIconEx(int iconId, bool big = false);