# examples/ForumNokia/Document_Handler_Example/HandlerApp/src/handlerApplication.cpp

    00001 /* ====================================================================
    00002  * File: handlerApplication.cpp
    00003  * Created: 09/27/05
    00004  * Author:
    00005  * Copyright (c): , All rights reserved
    00006  * ==================================================================== */
    00007
    00008 #include "handlerDocument.h"
    00009 #include "handlerApplication.h"
    00010
    00011 // UID for the application, this should correspond to the uid defined in the mmp file
    00012 const TUid KUidhandlerApp = {0x0F084DF7};
    00013
    00014 CApaDocument* CHandlerApplication::CreateDocumentL()
    00015     {
    00016     // Create an handler document, and return a pointer to it
    00017     CApaDocument* document = CHandlerDocument::NewL(*this);
    00018     return document;
    00019     }
    00020
    00021 TUid CHandlerApplication::AppDllUid() const
    00022     {
    00023     // Return the UID for the handler application
    00024     return KUidhandlerApp;
    00025     }
    00026