summaryrefslogtreecommitdiff
path: root/src/modules/plugins/plugins.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-06 08:31:38 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-06 08:31:38 +0000
commit1ce002432b3a5c0bb0a4c9f9eb8d399d649fe283 (patch)
tree77852d7852ceaf1f0029e91e94ae7580bb4cef5d /src/modules/plugins/plugins.h
parent387a4b247a6c4363576b1f969e7ea19856f6eddd (diff)
- mir_core.dll moved to the core :)
- plugins now obtain the fake langpack id if langpack is absent git-svn-id: http://svn.miranda-ng.org/main/trunk@787 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/plugins/plugins.h')
-rw-r--r--src/modules/plugins/plugins.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/plugins/plugins.h b/src/modules/plugins/plugins.h
index 85922fcae8..4dcf76f439 100644
--- a/src/modules/plugins/plugins.h
+++ b/src/modules/plugins/plugins.h
@@ -48,6 +48,7 @@ struct pluginEntry
{
TCHAR pluginname[64];
unsigned int pclass; // PCLASS_*
+ int hLangpack;
BASIC_PLUGIN_INFO bpi;
pluginEntry* nextclass;
};
@@ -70,7 +71,7 @@ int checkAPI(TCHAR* plugin, BASIC_PLUGIN_INFO* bpi, DWORD mirandaVersion, int ch
pluginEntry* OpenPlugin(TCHAR *tszFileName, TCHAR *dir, TCHAR *path);
bool TryLoadPlugin(pluginEntry *p, TCHAR *dir, bool bDynamic);
-void Plugin_Uninit(pluginEntry* p, bool bDynamic = false);
+void Plugin_Uninit(pluginEntry* p);
int Plugin_UnloadDyn(pluginEntry* p);
typedef BOOL (*SCAN_PLUGINS_CALLBACK) (WIN32_FIND_DATA * fd, TCHAR *path, WPARAM wParam, LPARAM lParam);