securitydialogs/Autolock/inc/AutolockApp.h
branchRCL_3
changeset 50 03674e5abf46
parent 0 164170e6151a
equal deleted inserted replaced
49:09b1ac925e3f 50:03674e5abf46
       
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *     Declares main application class.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef AUTOLOCKAPP_H
       
    21 #define AUTOLOCKAPP_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <aknapp.h>
       
    25 
       
    26 // CONSTANTS
       
    27 // UID of the application
       
    28 const TUid KUidAutolock = { 0x100059B5 };
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 * CAutolockApp application class.
       
    34 * Provides factory to create concrete document object.
       
    35 * 
       
    36 */
       
    37 class CAutolockApp : public CAknApplication
       
    38     {
       
    39     
       
    40     private:
       
    41 
       
    42         /**
       
    43         * From CApaApplication, creates CAutolockDocument document object.
       
    44         * @return A pointer to the created document object.
       
    45         */
       
    46         CApaDocument* CreateDocumentL();
       
    47         
       
    48         /**
       
    49         * From CApaApplication, returns application's UID (KUidAutolock).
       
    50         * @return The value of KUidAutolock.
       
    51         */
       
    52         TUid AppDllUid() const;
       
    53     };
       
    54 
       
    55 #endif
       
    56 
       
    57 // End of File
       
    58