Hi!
I want to update my grammar checker (Esperantilo) from 3.0 interface to
new 3.1 XProofreader.
It seems that there is some changes about handling XProofreader
instances, isn't it?
By the old implementation I have used
::cppu::createSingleComponentFactory
to create XGrammarChecker component and it works fine.
No if I use this method, OO tries to create many instances of
XProofreader and it will be overloaded and unusable.
I have looked into Java LanguageTool implementation. It uses own
singleton factory.
What is the right way to do it in C++. Is
::cppu::createSingleComponentFactory not the right method to ensure
that there is only one instance of Proofreader?
In the OO documentation
http://wiki.services.openoffice.org/wiki/Uno/Cpp/Tutorials/Introduction_to_Cpp_Uno
is said not to use own singletons.
Is there any example of Grammar Checker in C++?
Regards
Artur
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lingucomponent.openoffice.org
For additional commands, e-mail: dev-h...@lingucomponent.openoffice.org