diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-20 13:13:28 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-20 13:13:28 +0000 |
commit | 8593e7594773c30b35488bb6a45fcc782ed5df0c (patch) | |
tree | 7e1e7b44b5331b419c2843f155d0e04ba6e56635 /plugins/ModernOpt/src/main.cpp | |
parent | 1de47a8a191ae6c607972c51ae0289e474e9f52c (diff) |
ModernOpt: changed folder structure
git-svn-id: http://svn.miranda-ng.org/main/trunk@1081 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ModernOpt/src/main.cpp')
-rw-r--r-- | plugins/ModernOpt/src/main.cpp | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/plugins/ModernOpt/src/main.cpp b/plugins/ModernOpt/src/main.cpp new file mode 100644 index 0000000000..c11f8349f9 --- /dev/null +++ b/plugins/ModernOpt/src/main.cpp @@ -0,0 +1,54 @@ +#include "commonheaders.h"
+
+
+HINSTANCE hInst;
+int hLangpack;
+
+PLUGININFOEX pluginInfoEx = {
+ sizeof(PLUGININFOEX),
+ "Support for new options design",
+ PLUGIN_MAKE_VERSION(0,1,0,0),
+ "Support for new options design.",
+ "Victor Pavlychko, George Hazan",
+ "ghazan@miranda-im.org",
+ "é 2009 Victor Pavlychko, George Hazan",
+ "http://www.miranda-im.org",
+ UNICODE_AWARE,
+ { 0x621f886b, 0xa7f6, 0x457f, { 0x9d, 0x62, 0x8e, 0xe8, 0x4c, 0x27, 0x59, 0x93 }} // {621f886b-a7f6-457f-9d62-8ee84c275993}
+};
+
+BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
+{
+ hInst = hinstDLL;
+ return TRUE;
+}
+
+/////////////////////////////////////////////////////////////////////////////////////////
+// MirandaPluginInfoEx - returns an information about a plugin
+
+extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
+{
+ return &pluginInfoEx;
+}
+
+/////////////////////////////////////////////////////////////////////////////////////////
+// Performs a primary set of actions upon plugin loading
+
+int LoadModernOptsModule();
+
+extern "C" int __declspec(dllexport) Load(void)
+{
+
+ mir_getLP(&pluginInfoEx);
+
+ LoadModernOptsModule();
+ return 0;
+}
+
+/////////////////////////////////////////////////////////////////////////////////////////
+// Unload a plugin
+
+extern "C" int __declspec(dllexport) Unload(void)
+{
+ return 0;
+}
|