# examples/AppFramework/Clock/ClockExample_Application.cpp

    00001 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
    00002 // All rights reserved.
    00003 // This component and the accompanying materials are made available
    00004 // under the terms of "Eclipse Public License v1.0"
    00005 // which accompanies this distribution, and is available
    00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    00007 //
    00008 // Initial Contributors:
    00009 // Nokia Corporation - initial contribution.
    00010 //
    00011 // Contributors:
    00012 //
    00013 // Description:
    00014 //
    00015
    00016 #include "ClockExample.h"
    00017
    00018 const TUid KUidClockExample = { 0xE8000098 };
    00019
    00020 // Called by the UI framework to get the application's UID
    00021 TUid CExampleApplication::AppDllUid() const
    00022         {
    00023         return KUidClockExample;
    00024         }
    00025
    00026 // Called by the UI framework at application start-up to
    00027 // create an instance of the document class.
    00028 CApaDocument* CExampleApplication::CreateDocumentL()
    00029         {
    00030         return new (ELeave) CExampleDocument(*this);
    00031         }
    00032