summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/svc_constants.h
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.h
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.h')
-rw-r--r--plugins/UserInfoEx/svc_constants.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/plugins/UserInfoEx/svc_constants.h b/plugins/UserInfoEx/svc_constants.h
index 2106f9fa3c..1ea761e770 100644
--- a/plugins/UserInfoEx/svc_constants.h
+++ b/plugins/UserInfoEx/svc_constants.h
@@ -181,25 +181,6 @@ typedef struct CIDList
} IDSTRLIST, *LPIDSTRLIST;
-class CService
-{
-public:
- CService( const char * name, MIRANDASERVICE serviceProc);
- ~CService();
-
- const char* m_name;
- HANDLE m_hService;
-};
-
-extern OBJLIST<CService> services;
-static __inline HANDLE myCreateServiceFunction( const char * name, MIRANDASERVICE serviceProc)
-{
- CService* p = new CService(name,serviceProc);
- if (!p->m_hService){delete p; return 0;}
- services.insert(p);
- return p->m_hService;
-}
-
INT_PTR GetMaritalList(LPUINT pListSize, LPIDSTRLIST *pList);
INT_PTR GetLanguageList(LPUINT pListSize, LPIDSTRLIST *pList);
INT_PTR GetCountryList(LPUINT pListSize, LPIDSTRLIST *pList);