diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-09 10:01:40 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-09 10:01:40 +0000 |
commit | 8e161a2db88720840dc979cb9fe1f0c38742787d (patch) | |
tree | 04f7429264e4dbbb4da6e0c9ab71df0dec860aee /plugins/Folders/src/folders.cpp | |
parent | 68e5eb0709241968a1b91fb53e4c4cba27581a4a (diff) |
Folders:
- custom array class removed;
- a lot of junk also removed;
- version bump;
git-svn-id: http://svn.miranda-ng.org/main/trunk@3931 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Folders/src/folders.cpp')
-rw-r--r-- | plugins/Folders/src/folders.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Folders/src/folders.cpp b/plugins/Folders/src/folders.cpp index e44a7f7485..3abfef1f55 100644 --- a/plugins/Folders/src/folders.cpp +++ b/plugins/Folders/src/folders.cpp @@ -24,7 +24,7 @@ char ModuleName[] = "Folders"; HINSTANCE hInstance;
int hLangpack;
-CFoldersList &lstRegisteredFolders = CFoldersList(10); //the list
+OBJLIST<CFolderItem> lstRegisteredFolders(10, OBJLIST<CFolderItem>::FTSortFunc(PtrKeySortT));
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
@@ -40,7 +40,7 @@ PLUGININFOEX pluginInfo = { {0x2f129563, 0x2c7d, 0x4a9a, {0xb9, 0x48, 0x97, 0xdf, 0xcc, 0x0a, 0xfd, 0xd7}}
};
-extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD mirandaVersion)
+extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfo;
}
@@ -48,10 +48,10 @@ extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD miranda extern "C" __declspec(dllexport) int Load(void)
{
mir_getLP(&pluginInfo);
-
+
InitServices();
InitEvents();
- HookEvents();
+ InitOptions();
return 0;
}
@@ -61,7 +61,7 @@ extern "C" __declspec(dllexport) int Unload() return 0;
}
-bool WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
hInstance = hinstDLL;
return TRUE;
|