summaryrefslogtreecommitdiff
path: root/plugins/Jingle/src/main.cpp
blob: bef4e15717fd1989bf94b8ed6dd82c2bc6b1aa12 (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
#include "stdafx.h"

CMPlugin g_plugin;

OBJLIST<CJabberAccount> g_arJabber(1);

/////////////////////////////////////////////////////////////////////////////////////////

PLUGININFOEX pluginInfoEx = {
	sizeof(PLUGININFOEX),
	__PLUGIN_NAME,
	PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
	__DESCRIPTION,
	__AUTHOR,
	__COPYRIGHT,
	__AUTHORWEB,
	UNICODE_AWARE,
	// D3E24A92-E2C3-440F-BC87-00 2A B8 22 ABFB
	{0xD3E24A92, 0xE2C3, 0x440F, {0xbc, 0x87, 0x00, 0x2A, 0xb8, 0x22, 0xab, 0xf8}}
};

CMPlugin::CMPlugin() :
	PLUGIN<CMPlugin>("Jingle", pluginInfoEx)
{
}

/////////////////////////////////////////////////////////////////////////////////////////
// Load

int CMPlugin::Load()
{
	SetEnvironmentVariableW(L"GST_PLUGIN_PATH", VARSW(L"%miranda_path%\\Libs\\gst_plugins"));

	CJabberAccount::InitHooks();
	return 0;
}