    #include "MyAppDocument.h"
    #include "MyAppApplication.h"

    // UID for the application, this should correspond to the uid defined in the mmp
    // file. The UIDs from the 0x00000001 - 0x0FFFFFFF range are development UIDs
    // which can be used internally but must not appear in release software. Other
    // UIDs can be obtained from Symbian
    static const TUid KUidMyAppApp = {0x0573205c};

    // the framework will call this function to obtain a new document object
    CApaDocument *CMyAppApplication::CreateDocumentL()
    {
        // Create an MyApp document, and return a pointer to it
        CApaDocument *document = CMyAppDocument::NewL(*this);
        return document;
    }

    // returns the application UID
    TUid CMyAppApplication::AppDllUid() const
    {
        // Return the UID for the HelloWorld application
        return KUidMyAppApp;
    }