summaryrefslogtreecommitdiff
path: root/linguistic/source/lngsvcmgr.hxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-03-16 13:05:08 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-03-16 13:05:08 +0000
commit97da3bc2a526c9ca0ef4a9a61b2368bb0913c5b1 (patch)
treec0dc5267b20f5bd74e392292c84029e3cb099663 /linguistic/source/lngsvcmgr.hxx
parent675ee2db309cdb75e4eb9cbd6dd2d196fd2d6a11 (diff)
INTEGRATION: CWS tl16 (1.8.6); FILE MERGED
2005/10/11 09:13:21 tl 1.8.6.2: #i55525# performance for updating the linguistic configuration improved 2005/10/06 08:12:31 tl 1.8.6.1: #i55525# performance for updating the linguistic configuration improved
Diffstat (limited to 'linguistic/source/lngsvcmgr.hxx')
-rw-r--r--linguistic/source/lngsvcmgr.hxx24
1 files changed, 18 insertions, 6 deletions
diff --git a/linguistic/source/lngsvcmgr.hxx b/linguistic/source/lngsvcmgr.hxx
index 7c0e4aa1cf4c..46e4f9728f40 100644
--- a/linguistic/source/lngsvcmgr.hxx
+++ b/linguistic/source/lngsvcmgr.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: lngsvcmgr.hxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 19:54:07 $
+ * last change: $Author: vg $ $Date: 2006-03-16 14:05:08 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -61,6 +61,10 @@
#include <com/sun/star/linguistic2/XAvailableLocales.hpp>
#endif
+#ifndef _UTL_CONFIGITEM_HXX_
+#include <unotools/configitem.hxx>
+#endif
+
#include <vcl/timer.hxx>
#include "misc.hxx"
@@ -89,7 +93,8 @@ class LngSvcMgr :
com::sun::star::linguistic2::XAvailableLocales,
com::sun::star::lang::XComponent,
com::sun::star::lang::XServiceInfo
- >
+ >,
+ private utl::ConfigItem
{
::cppu::OInterfaceContainerHelper aEvtListeners;
@@ -133,9 +138,9 @@ class LngSvcMgr :
void GetAvailableHyphSvcs_Impl();
void GetAvailableThesSvcs_Impl();
void GetListenerHelper_Impl();
- void GetSpellCheckerDsp_Impl();
- void GetHyphenatorDsp_Impl();
- void GetThesaurusDsp_Impl();
+ void GetSpellCheckerDsp_Impl( sal_Bool bSetSvcList = sal_True );
+ void GetHyphenatorDsp_Impl( sal_Bool bSetSvcList = sal_True );
+ void GetThesaurusDsp_Impl( sal_Bool bSetSvcList = sal_True );
void SetCfgServiceLists( SpellCheckerDispatcher &rSpellDsp );
void SetCfgServiceLists( HyphenatorDispatcher &rHyphDsp );
@@ -143,6 +148,13 @@ class LngSvcMgr :
BOOL SaveCfgSvcs( const String &rServiceName );
+ void SetAvailableCfgServiceLists( LinguDispatcher &rDispatcher,
+ const SvcInfoArray &rAvailSvcs );
+
+ // utl::ConfigItem (to allow for listening of changes of relevant properties)
+ virtual void Notify( const com::sun::star::uno::Sequence< rtl::OUString > &rPropertyNames );
+ virtual void Commit();
+
public:
LngSvcMgr();
virtual ~LngSvcMgr();