diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-06 05:56:11 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-06 05:56:11 +0000 |
commit | 488aa433f119560b13c1b6234508ea6dda29c25a (patch) | |
tree | 4167d0853872fc5563f9490848158809de6edd87 /plugins/UserInfoEx/Flags | |
parent | 2d72bd7549e0ffb36a3d3391ca979b75a365f5de (diff) |
user-defined service creation isn't needed anymore
git-svn-id: http://svn.miranda-ng.org/main/trunk@781 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/Flags')
-rw-r--r-- | plugins/UserInfoEx/Flags/svc_countrylistext.cpp | 4 | ||||
-rw-r--r-- | plugins/UserInfoEx/Flags/svc_flags.cpp | 2 | ||||
-rw-r--r-- | plugins/UserInfoEx/Flags/svc_flagsicons.cpp | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/plugins/UserInfoEx/Flags/svc_countrylistext.cpp b/plugins/UserInfoEx/Flags/svc_countrylistext.cpp index 71b259c7ab..fabb2749f2 100644 --- a/plugins/UserInfoEx/Flags/svc_countrylistext.cpp +++ b/plugins/UserInfoEx/Flags/svc_countrylistext.cpp @@ -320,7 +320,7 @@ VOID InitCountryListExt() {
/* hack to replace built-in country list */
if (!myDestroyServiceFunction(MS_UTILS_GETCOUNTRYLIST))
- myCreateServiceFunction(MS_UTILS_GETCOUNTRYLIST,ServiceGetCountryList);
+ CreateServiceFunction(MS_UTILS_GETCOUNTRYLIST,ServiceGetCountryList);
if (!myDestroyServiceFunction(MS_UTILS_GETCOUNTRYBYNUMBER))
- myCreateServiceFunction(MS_UTILS_GETCOUNTRYBYNUMBER,ServiceGetCountryByNumber);
+ CreateServiceFunction(MS_UTILS_GETCOUNTRYBYNUMBER,ServiceGetCountryByNumber);
}
diff --git a/plugins/UserInfoEx/Flags/svc_flags.cpp b/plugins/UserInfoEx/Flags/svc_flags.cpp index ec08f9704c..8999df2cca 100644 --- a/plugins/UserInfoEx/Flags/svc_flags.cpp +++ b/plugins/UserInfoEx/Flags/svc_flags.cpp @@ -699,7 +699,7 @@ void SvcFlagsLoadModule() nCountriesCount=0;
InitIcons(); /* load in iconlib */
//InitIpToCountry(); /* not implementet */
- myCreateServiceFunction(MS_FLAGS_DETECTCONTACTORIGINCOUNTRY,ServiceDetectContactOriginCountry);
+ CreateServiceFunction(MS_FLAGS_DETECTCONTACTORIGINCOUNTRY,ServiceDetectContactOriginCountry);
//init settings
gFlagsOpts.bShowExtraImgFlag = DB::Setting::GetByte(MODNAMEFLAGS,"ShowExtraImgFlag", SETTING_SHOWEXTRAIMGFLAG_DEFAULT);
gFlagsOpts.bUseUnknownFlag = DB::Setting::GetByte(MODNAMEFLAGS,"UseUnknownFlag", SETTING_USEUNKNOWNFLAG_DEFAULT);
diff --git a/plugins/UserInfoEx/Flags/svc_flagsicons.cpp b/plugins/UserInfoEx/Flags/svc_flagsicons.cpp index e265d1b850..d7119cd75e 100644 --- a/plugins/UserInfoEx/Flags/svc_flagsicons.cpp +++ b/plugins/UserInfoEx/Flags/svc_flagsicons.cpp @@ -440,8 +440,8 @@ VOID InitIcons() }
/* create services */
- myCreateServiceFunction(MS_FLAGS_LOADFLAGICON,ServiceLoadFlagIcon);
- myCreateServiceFunction(MS_FLAGS_CREATEMERGEDFLAGICON,ServiceCreateMergedFlagIcon);
+ CreateServiceFunction(MS_FLAGS_LOADFLAGICON,ServiceLoadFlagIcon);
+ CreateServiceFunction(MS_FLAGS_CREATEMERGEDFLAGICON,ServiceCreateMergedFlagIcon);
}
VOID UninitIcons()
|