summaryrefslogtreecommitdiff
path: root/linguistic/source/lngsvcmgr.hxx
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2001-03-28 10:37:57 +0000
committerThomas Lange <tl@openoffice.org>2001-03-28 10:37:57 +0000
commit9a2fffa567c6d7b48cbf0c60062615bc315de111 (patch)
tree069f42adae7077fc6392d884dab4c4700ffce3ff /linguistic/source/lngsvcmgr.hxx
parentb66a39c43dee6eda7b4fc4f2fa0ba8174fc2b39a (diff)
getAvailableLocales moved to new interface XAvailableLocales
Diffstat (limited to 'linguistic/source/lngsvcmgr.hxx')
-rw-r--r--linguistic/source/lngsvcmgr.hxx24
1 files changed, 15 insertions, 9 deletions
diff --git a/linguistic/source/lngsvcmgr.hxx b/linguistic/source/lngsvcmgr.hxx
index 87abb66f420c..5734f8e1fe53 100644
--- a/linguistic/source/lngsvcmgr.hxx
+++ b/linguistic/source/lngsvcmgr.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: lngsvcmgr.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: tl $ $Date: 2001-01-25 10:54:49 $
+ * last change: $Author: tl $ $Date: 2001-03-28 11:37:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -63,7 +63,7 @@
#define _LINGUISTIC_LNGSVCMGR_HXX_
#include <uno/lbnames.h> // CPPU_CURRENT_LANGUAGE_BINDING_NAME macro, which specify the environment type
-#include <cppuhelper/implbase3.hxx> // helper for implementations
+#include <cppuhelper/implbase4.hxx> // helper for implementations
#ifndef _CPPUHELPER_INTERFACECONTAINER_H_
#include <cppuhelper/interfacecontainer.h> //OMultiTypeInterfaceContainerHelper
@@ -83,6 +83,9 @@
#ifndef _COM_SUN_STAR_LINGUISTIC2_XLINGUSERVICEMANAGER_HPP_
#include <com/sun/star/linguistic2/XLinguServiceManager.hpp>
#endif
+#ifndef _COM_SUN_STAR_LINGUISTIC2_XAVAILABLELOCALES_HPP_
+#include <com/sun/star/linguistic2/XAvailableLocales.hpp>
+#endif
#include <vcl/timer.hxx>
@@ -106,9 +109,10 @@ namespace com { namespace sun { namespace star { namespace linguistic2 {
class LngSvcMgr :
- public cppu::WeakImplHelper3
+ public cppu::WeakImplHelper4
<
com::sun::star::linguistic2::XLinguServiceManager,
+ com::sun::star::linguistic2::XAvailableLocales,
com::sun::star::lang::XComponent,
com::sun::star::lang::XServiceInfo
>
@@ -202,11 +206,6 @@ public:
const ::rtl::OUString& rServiceName,
const ::com::sun::star::lang::Locale& rLocale )
throw(::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Sequence<
- ::com::sun::star::lang::Locale > SAL_CALL
- getAvailableLocales(
- const ::rtl::OUString& rServiceName )
- throw(::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL
setConfiguredServices(
const ::rtl::OUString& rServiceName,
@@ -220,6 +219,13 @@ public:
const ::com::sun::star::lang::Locale& rLocale )
throw(::com::sun::star::uno::RuntimeException);
+ // XAvailableLocales
+ virtual ::com::sun::star::uno::Sequence<
+ ::com::sun::star::lang::Locale > SAL_CALL
+ getAvailableLocales(
+ const ::rtl::OUString& rServiceName )
+ throw(::com::sun::star::uno::RuntimeException);
+
// XComponent
virtual void SAL_CALL
dispose()