securitydialogs/Autolock/inc/AutolockDocument.h
branchGCC_SURGE
changeset 40 604cd42065d1
parent 29 b63e8c2d8cff
parent 38 e0432375ea67
equal deleted inserted replaced
29:b63e8c2d8cff 40:604cd42065d1
     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 document for application.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef AUTOLOCKDOCUMENT_H
       
    21 #define AUTOLOCKDOCUMENT_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <AknDoc.h>
       
    25 // CONSTANTS
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class  CEikAppUi;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 *  CAutolockDocument application class.
       
    34 */
       
    35 class CAutolockDocument : public CAknDocument 
       
    36     {
       
    37     public: // Constructors and destructor
       
    38         /**
       
    39         * Two-phased constructor.
       
    40         */
       
    41         static CAutolockDocument* NewL(CEikApplication& aApp);
       
    42 
       
    43         /**
       
    44         * Destructor.
       
    45         */
       
    46         virtual ~CAutolockDocument();
       
    47 
       
    48     public: // From CEikDocument 
       
    49 		/**
       
    50         * Updates task name --> Sets autolock hidden
       
    51         *
       
    52 		* @param aWgName CApaWindowGroupName*
       
    53 		*/
       
    54 		void UpdateTaskNameL( CApaWindowGroupName* aWgName );
       
    55 
       
    56     private:
       
    57 
       
    58         /**
       
    59         * Symbian OS default constructor.
       
    60         */
       
    61         CAutolockDocument(CEikApplication& aApp): CAknDocument(aApp) { }
       
    62         void ConstructL();
       
    63 
       
    64     private:
       
    65 
       
    66         /**
       
    67         * From CEikDocument, create CAutolockAppUi "App UI" object.
       
    68         */
       
    69         CEikAppUi* CreateAppUiL();
       
    70     };
       
    71 
       
    72 #endif
       
    73 
       
    74 // End of File
       
    75