summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-04-27 15:08:14 +0000
committerOliver Bolte <obo@openoffice.org>2004-04-27 15:08:14 +0000
commitb92bd08e6cbc4b2106b47999ee07dc467273f0c5 (patch)
tree23456c3fa890114883f5192a9c6a48516f5766a7 /linguistic
parentceed7a9ba418ac202556ad88da5d24c2a7ac6acc (diff)
INTEGRATION: CWS tl01 (1.1.1.1.86); FILE MERGED
2003/07/25 13:19:24 tl 1.1.1.1.86.1: #110762# API for Hangul/Hanja text conversion user-dictionaries
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/lngreg.cxx24
1 files changed, 22 insertions, 2 deletions
diff --git a/linguistic/source/lngreg.cxx b/linguistic/source/lngreg.cxx
index e5388d4c4bb7..073d5510da73 100644
--- a/linguistic/source/lngreg.cxx
+++ b/linguistic/source/lngreg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: lngreg.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-11-17 12:37:38 $
+ * last change: $Author: obo $ $Date: 2004-04-27 16:08:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -92,6 +92,11 @@ extern sal_Bool SAL_CALL LinguProps_writeInfo
XRegistryKey * pRegistryKey
);
+extern sal_Bool SAL_CALL ConvDicList_writeInfo
+(
+ void * /*pServiceManager*/, XRegistryKey * pRegistryKey
+);
+
extern void * SAL_CALL LngSvcMgr_getFactory
(
const sal_Char * pImplName,
@@ -113,6 +118,13 @@ void * SAL_CALL LinguProps_getFactory
void *
);
+extern void * SAL_CALL ConvDicList_getFactory
+(
+ const sal_Char * pImplName,
+ XMultiServiceFactory * pServiceManager,
+ void *
+);
+
////////////////////////////////////////
// definition of the two functions that are used to provide the services
//
@@ -131,6 +143,8 @@ sal_Bool SAL_CALL component_writeInfo
bRet = LinguProps_writeInfo( pServiceManager, pRegistryKey );
if(bRet)
bRet = DicList_writeInfo( pServiceManager, pRegistryKey );
+ if(bRet)
+ bRet = ConvDicList_writeInfo( pServiceManager, pRegistryKey );
return bRet;
}
@@ -161,6 +175,12 @@ void * SAL_CALL component_getFactory(
reinterpret_cast< XMultiServiceFactory * >( pServiceManager ),
pRegistryKey );
+ if(!pRet)
+ pRet = ConvDicList_getFactory(
+ pImplName,
+ reinterpret_cast< XMultiServiceFactory * >( pServiceManager ),
+ pRegistryKey );
+
return pRet;
}
}