blob: 6d8fc14a1d7d960e2abfd86e46c166af0932d35e (
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
|
#pragma once
#include <windows.h>
#include <malloc.h>
#include <crtdbg.h>
#include <memory>
#include <vector>
#include <newpluginapi.h>
#include <m_crypto.h>
#include <m_database.h>
#include <m_gui.h>
#include <m_netlib.h>
#include <m_protocols.h>
#include <m_metacontacts.h>
#include <sqlite3.h>
#include "dbintf.h"
#include "resource.h"
#include "version.h"
struct CQuery
{
const char *szQuery;
sqlite3_stmt *pQuery;
};
void logError(int rc, const char *szFile, int line);
/////////////////////////////////////////////////////////////////////////////////////////
constexpr auto SQLITE_HEADER_STR = "SQLite format 3";
struct CMPlugin : public PLUGIN<CMPlugin>
{
CMPlugin();
int Load() override;
};
|