summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.cpp
blob: 98ccfb88ce303f521fbfd26590d90ffd085d08df (plain) (blame)
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

#include "Globals.h"  // NOTE: MSVC stupidness requires this to be the same across all modules

#include "Plugin.h"





cPlugin::cPlugin(const AString & a_PluginDirectory) :
	m_Language(E_CPP),
	m_Name(a_PluginDirectory),
	m_Version(0),
	m_Directory(a_PluginDirectory)
{
}





cPlugin::~cPlugin()
{
	LOGD("Destroying plugin \"%s\".", m_Name.c_str());
}





AString cPlugin::GetLocalFolder(void) const
{
	return std::string("Plugins/") + m_Directory;
}