diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-18 14:11:28 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-18 14:11:28 +0000 |
commit | 4bc88d46fa9859615521f436511d4f102f20eb67 (patch) | |
tree | 3a6ee91b74be2a4f5e60520885aa601c74bc3fa7 /src/modules/utils/utils.cpp | |
parent | 4f8f5427687792492ee49e06cafb9bd50cfc53d4 (diff) |
databases are still static, but are controlled via classes
git-svn-id: http://svn.miranda-ng.org/main/trunk@1014 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/utils/utils.cpp')
-rw-r--r-- | src/modules/utils/utils.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/utils/utils.cpp b/src/modules/utils/utils.cpp index 64941a9b85..9d553b333b 100644 --- a/src/modules/utils/utils.cpp +++ b/src/modules/utils/utils.cpp @@ -36,6 +36,7 @@ int InitBitmapFilter(void); void InitXmlApi(void);
void InitTimeZones(void);
void UninitTimeZones(void);
+int InitCrypt(void);
static BOOL bModuleInitialized = FALSE;
@@ -471,6 +472,7 @@ int LoadUtilsModule(void) CreateServiceFunction(MS_UTILS_GETCOUNTRYLIST, GetCountryList);
CreateServiceFunction(MS_UTILS_GETRANDOM, GenerateRandom);
CreateServiceFunction(MS_SYSTEM_RESTART, RestartMiranda);
+
InitOpenUrl();
InitWindowList();
InitHyperlink();
@@ -480,12 +482,14 @@ int LoadUtilsModule(void) InitXmlApi();
InitJson();
InitTimeZones();
+ InitCrypt();
return 0;
}
void UnloadUtilsModule(void)
{
- if ( !bModuleInitialized) return;
+ if ( !bModuleInitialized)
+ return;
FreeWindowList();
UninitTimeZones();
|