sdkcreationmw/sdkexamples/cppexamples/S60Ex/Animation/gui/inc/animationapplication.h
author rajpuroh
Wed, 21 Apr 2010 09:56:53 +0530
changeset 1 ac50fd48361b
parent 0 b26acd06ea60
permissions -rw-r--r--
Second Contribution
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     1
/*
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     2
* Copyright (c) 2004 - 2006 Nokia Corporation and/or its subsidiary(-ies).
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     3
* All rights reserved.
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     4
* This component and the accompanying materials are made available
1
ac50fd48361b Second Contribution
rajpuroh
parents: 0
diff changeset
     5
* under the terms of the License "Eclipse Public License v1.0"
0
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     6
* which accompanies this distribution, and is available
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     8
*
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
     9
* Initial Contributors:
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    11
*
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    12
* Contributors:
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    13
*
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    14
* Description: 
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    15
*
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    16
*/
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    17
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    18
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    19
#ifndef __ANIMATIONAPPLICATION_H__
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    20
#define __ANIMATIONAPPLICATION_H__
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    21
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    22
// INCLUDES
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    23
#include <aknapp.h>
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    24
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    25
// CONSTANTS
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    26
// UID for the application; this should match the uid defined in the mmp file.
1
ac50fd48361b Second Contribution
rajpuroh
parents: 0
diff changeset
    27
static const TUid KUidAnimationApp = { 0xE000022D };
0
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    28
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    29
// CLASS DECLARATION
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    30
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    31
/**
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    32
* CAnimationApplication application class.
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    33
* An instance of CAnimationApplication is the application part of the AVKON
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    34
* application framework for the Animation example application.
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    35
*/
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    36
class CAnimationApplication : public CAknApplication
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    37
    {
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    38
    public: // from CAknApplication
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    39
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    40
        /**
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    41
        * From CApaApplication, AppDllUid.
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    42
        * @return Application's UID.
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    43
        */
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    44
        TUid AppDllUid() const;
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    45
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    46
    protected:   // New functions
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    47
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    48
        /**
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    49
        * From CApaApplication, CreateDocumentL.
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    50
        * Creates CAnimationApplication document object.
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    51
        * The returned pointer in not owned by the CAnimationApplication
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    52
        * object.
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    53
        * @return A pointer to the created document object.
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    54
        */
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    55
        CApaDocument* CreateDocumentL();
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    56
    };
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    57
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    58
#endif // __ANIMATIONAPPLICATION_H__
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    59
b26acd06ea60 First Contribution of SDK components
rajpuroh
parents:
diff changeset
    60
// End of File