From: Robert J. <rjo...@us...> - 2004-06-30 12:27:38
|
Update of /cvsroot/openh323/contrib/openivr In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11521/openivr Modified Files: main.cxx Log Message: Rewrite of plug in system to use single global variable for all factories to avoid all sorts of issues with startup orders and Windows DLL multiple instances. Index: main.cxx =================================================================== RCS file: /cvsroot/openh323/contrib/openivr/main.cxx,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** main.cxx 22 Jun 2004 11:01:13 -0000 1.9 --- main.cxx 30 Jun 2004 12:27:28 -0000 1.10 *************** *** 25,28 **** --- 25,32 ---- * * $Log$ + * Revision 1.10 2004/06/30 12:27:28 rjongbloed + * Rewrite of plug in system to use single global variable for all factories to avoid all sorts + * of issues with startup orders and Windows DLL multiple instances. + * * Revision 1.9 2004/06/22 11:01:13 csoutheren * Updated for changed to TTS routines *************** *** 476,480 **** { PTextToSpeech * tts = NULL; ! PGenericFactory<PTextToSpeech>::KeyList_T engines = PGenericFactory<PTextToSpeech>::GetKeyList(); if (engines.size() != 0) { PString name; --- 480,484 ---- { PTextToSpeech * tts = NULL; ! PFactory<PTextToSpeech>::KeyList_T engines = PFactory<PTextToSpeech>::GetKeyList(); if (engines.size() != 0) { PString name; *************** *** 484,488 **** #endif name = engines[0]; ! tts = PGenericFactory<PTextToSpeech>::CreateInstance(name); } SetTextToSpeech(tts, TRUE); --- 488,492 ---- #endif name = engines[0]; ! tts = PFactory<PTextToSpeech>::CreateInstance(name); } SetTextToSpeech(tts, TRUE); |