diff options
author | Thomas Lange <tl@openoffice.org> | 2002-12-04 12:05:00 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2002-12-04 12:05:00 +0000 |
commit | 084fdf29d78c7bb39e442004ba2d52582e2e1b72 (patch) | |
tree | b8715099483d9724d815785cc7853984552caa6d /svx/inc/unolingu.hxx | |
parent | 6da9e5302b96b608946c0ecb32cefce5bb13a758 (diff) |
#104599# linguistic: activate services for languages with new installed dictionaries automatically
Diffstat (limited to 'svx/inc/unolingu.hxx')
-rw-r--r-- | svx/inc/unolingu.hxx | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/svx/inc/unolingu.hxx b/svx/inc/unolingu.hxx index 7c3a34a833..56b0141ae3 100644 --- a/svx/inc/unolingu.hxx +++ b/svx/inc/unolingu.hxx @@ -2,9 +2,9 @@ * * $RCSfile: unolingu.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: tl $ $Date: 2001-06-13 12:22:33 $ + * last change: $Author: tl $ $Date: 2002-12-04 13:05:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -114,6 +114,24 @@ class Window; //#define DIC_ERR_ENTRY_NOTEXISTS 6 /////////////////////////////////////////////////////////////////////////// +// SvxLinguConfigUpdate +// class to update configuration items when (before!) the linguistic is used. +// +// This class is called by all the dummy implementations to update all of the +// configuration (list of used/available services) when the linguistic is +// accessed for the first time. + +class SvxLinguConfigUpdate +{ + static BOOL bUpdated; + +public: + + static BOOL IsUpdated() { return bUpdated; } + static void UpdateAll(); +}; + +/////////////////////////////////////////////////////////////////////////// class LinguMgr { @@ -185,6 +203,9 @@ public: ::com::sun::star::linguistic2::XDictionary1 > GetIgnoreAllList(); static ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XDictionary1 > GetChangeAllList(); + + // update all configuration entries + static void UpdateAll(); }; /////////////////////////////////////////////////////////////////////////// |