зеркало из https://github.com/mozilla/pjs.git
enabling FullCircle in the AppShell. Placed it in the Initialize() call.
There's some question if we could move this call earlier in the execution.
This commit is contained in:
Родитель
45ba453dad
Коммит
bde6f49c3e
|
@ -33,6 +33,10 @@
|
||||||
|
|
||||||
#include "nsWidgetsCID.h"
|
#include "nsWidgetsCID.h"
|
||||||
|
|
||||||
|
#ifdef MOZ_FULLCIRCLE
|
||||||
|
#include "fullsoft.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define Class IDs */
|
/* Define Class IDs */
|
||||||
static NS_DEFINE_IID(kAppShellCID, NS_APPSHELL_CID);
|
static NS_DEFINE_IID(kAppShellCID, NS_APPSHELL_CID);
|
||||||
static NS_DEFINE_IID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID);
|
static NS_DEFINE_IID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID);
|
||||||
|
@ -95,7 +99,10 @@ NS_IMETHODIMP
|
||||||
nsAppShellService::Initialize(void)
|
nsAppShellService::Initialize(void)
|
||||||
{
|
{
|
||||||
nsresult rv;
|
nsresult rv;
|
||||||
|
|
||||||
|
#ifdef MOZ_FULLCIRCLE
|
||||||
|
FC_Initialize();
|
||||||
|
#endif
|
||||||
// Create the Event Queue for the UI thread...
|
// Create the Event Queue for the UI thread...
|
||||||
nsIEventQueueService* mEventQService;
|
nsIEventQueueService* mEventQService;
|
||||||
rv = nsServiceManager::GetService(kEventQueueServiceCID,
|
rv = nsServiceManager::GetService(kEventQueueServiceCID,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче