Added TSM Input Method support for the Macintosh. (Added a call to CloseTSMAwareApplication).

This commit is contained in:
tague%netscape.com 1999-05-28 05:06:54 +00:00
Родитель 5809e0854b
Коммит 33d027efe8
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -48,6 +48,7 @@
#if defined(XP_MAC)
#include "macstdlibextras.h"
#include <TextServices.h>
// Set up the toolbox and (if DEBUG) the console. Do this in a static initializer,
// to make it as unlikely as possible that somebody calls printf() before we get initialized.
static struct MacInitializer { MacInitializer() { InitializeMacToolbox(); } } gInitializer;
@ -523,6 +524,9 @@ done:
nsServiceManager::ReleaseService(kFileLocatorCID, locator);
#ifdef XP_MAC
(void)CloseTSMAwareApplication();
#endif
/*
* Translate the nsresult into an appropriate platform-specific return code.
*/