summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/svc_constants.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-06 05:56:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-06 05:56:11 +0000
commit488aa433f119560b13c1b6234508ea6dda29c25a (patch)
tree4167d0853872fc5563f9490848158809de6edd87 /plugins/UserInfoEx/svc_constants.cpp
parent2d72bd7549e0ffb36a3d3391ca979b75a365f5de (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/svc_constants.cpp')
-rw-r--r--plugins/UserInfoEx/svc_constants.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/plugins/UserInfoEx/svc_constants.cpp b/plugins/UserInfoEx/svc_constants.cpp
index 2fb2316fb4..ed803f79f4 100644
--- a/plugins/UserInfoEx/svc_constants.cpp
+++ b/plugins/UserInfoEx/svc_constants.cpp
@@ -249,41 +249,6 @@ static IDSTRLIST *MyCountries = NULL;
static UINT MyCountriesCount = 0;
/**
- * Class CService
- * This class supersed miranda CreateServiceFunction
- * it automtic call DestroyService in destructor
- * it is used for OBJLIST<CService> services wich unregister
- * all services during unload
- *
- * @param name - (const char *) service name to register
- * @param serviceProc - (MIRANDASERVICE)
- **/
-CService::CService( const char * name, MIRANDASERVICE serviceProc)
-{
- m_hService = CreateServiceFunction(name, serviceProc);
- m_name = m_hService ? name : NULL;
-}
-
-CService::~CService()
-{
- if(this->m_hService)
- DestroyServiceFunction(this->m_hService);
-}
-
-/**
- * sort function for OBJLIST<CService>
- *
- * @param p1 - (const CService*)
- * @param p2 - (const CService*)
- **/
-static int compareServices( const CService* p1, const CService* p2 )
-{
- return strcmp( p1->m_name, p2->m_name );
-}
-OBJLIST<CService> services( 30, compareServices );
-
-
-/**
* This is a sort procedure, which compares two items of an IDSTRLIST array.
* It is used by qsort in SvcConstantsTranslateList and cares about the
* locale, which was set up in OS. This prevents e.g. Ä,Ö to be put onto