Back to index

lightning-sunbird  0.9+nobinonly
Functions
EmbedEventHandling.cpp File Reference
#include "EmbedEventHandling.h"
#include "CTextInputEventHandler.h"
#include "prthread.h"
#include "nsIWidget.h"
#include "nsIEventSink.h"
#include "nsCOMPtr.h"

Go to the source code of this file.

Functions

void InitializeEmbedEventHandling (LApplication *theApplication)

Function Documentation

void InitializeEmbedEventHandling ( LApplication *  theApplication)

Definition at line 266 of file EmbedEventHandling.cpp.

{
    CEmbedEventAttachment *windowAttachment = new CEmbedEventAttachment;
    ThrowIfNil_(windowAttachment);
    theApplication->AddAttachment(windowAttachment);

    CEmbedIdler *embedIdler = new CEmbedIdler;
    ThrowIfNil_(embedIdler);
    embedIdler->StartIdling();
    
#if TARGET_CARBON
    InitializeTextInputEventHandling();
#endif

}

Here is the call graph for this function: