blob: 4d1be59d91d656003340c3671d44fd97ab904e62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
// stdafx.h : Includedatei für Standardsystem-Includedateien
// oder häufig verwendete projektspezifische Includedateien,
// die nur in unregelmäßigen Abständen geändert werden.
//
#pragma once
#define _CRT_NON_CONFORMING_SWPRINTFS
#define _CRT_SECURE_NO_WARNINGS
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <commctrl.h>
#include <process.h>
#include <stack>
#include <gcrypt.h>
extern "C" {
#include <privkey.h>
#include <proto.h>
#include <tlv.h>
#include <message.h>
#include <userstate.h>
}
using namespace std;
#include <newpluginapi.h>
#include <m_langpack.h>
#include <m_database.h>
#include <m_message.h>
#include <m_clist.h>
#include <m_popup.h>
#include <m_protosvc.h>
#include <m_contacts.h>
#include <m_icolib.h>
#include <m_skin.h>
#include <win2k.h>
#include <m_genmenu.h>
#include <m_options.h>
//ExternalAPI
#include <m_folders.h>
#include <m_msg_buttonsbar.h>
#include <m_metacontacts.h>
#include "otr.h"
#include "dbfilter.h"
#include "language.h"
#include "options.h"
#include "utils.h"
#include "svcs_menu.h"
#include "svcs_proto.h"
#include "svcs_srmm.h"
#include "resource.h"
#include "otr.h"
#include "icons.h"
#include "dialogs.h"
#include "version.h"
#include "entities.h"
#include "icons.h"
#include "mirotrmenu.h"
#include "striphtml.h"
#include "ekhtml.h"
#include "svcs_proto.h"
#ifdef _DEBUG
#define DEBUGOUTA(x) OutputDebugStringA(x)
#define DEBUGOUT(x) OutputDebugString(x)
#define DEBUGOUT_T(x) OutputDebugString(__T(x))
#else
#define DEBUGOUTA(x);
#define DEBUGOUT(x)
#define DEBUGOUT_T(x)
#endif
// modified manual policy - so that users set to 'opportunistic' will automatically start OTR with users set to 'manual'
#define OTRL_POLICY_MANUAL_MOD (OTRL_POLICY_MANUAL | OTRL_POLICY_WHITESPACE_START_AKE | OTRL_POLICY_ERROR_START_AKE)
#define MODULENAME "MirOTR"
#define PREF_BYPASS_OTR 0x8000
#define PREF_NO_HISTORY 0x10000
extern HINSTANCE hInst;
|