securitydialogs/lockapp/inc/lockappdocument.h
branchRCL_3
changeset 21 09b1ac925e3f
parent 20 63339781d179
child 22 03674e5abf46
equal deleted inserted replaced
20:63339781d179 21:09b1ac925e3f
     1 /*
       
     2 * Copyright (c) 2007 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:  LockApp application document class
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __LOCKAPP_DOCUMENT_H__
       
    20 #define __LOCKAPP_DOCUMENT_H__
       
    21 
       
    22 // INCLUDES
       
    23 #include <AknDoc.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class CLockAppAppUi;
       
    27 class CEikApplication;
       
    28 
       
    29 /**
       
    30  *  CLockAppDocument class is derived from CAknDocument,
       
    31  *  based on standard Avkon document template.
       
    32  *
       
    33  *  @lib    lockapp
       
    34  *  @since  5.0
       
    35  *  @author Joona Petrell
       
    36  *  @author Tamas Koteles
       
    37  */
       
    38 class CLockAppDocument : public CAknDocument
       
    39 	{
       
    40 	public:
       
    41 
       
    42 		/**
       
    43 		 * Two-phased constructor.
       
    44 		 *
       
    45 		 * @param aApp application class
       
    46 		 */
       
    47 		static CLockAppDocument* NewL( CEikApplication& aApp );
       
    48 		static CLockAppDocument* NewLC( CEikApplication& aApp );
       
    49 
       
    50 		/**
       
    51 		 * Destructor
       
    52 		 */
       
    53 		~CLockAppDocument( );
       
    54 
       
    55 	public:
       
    56 
       
    57 		/*
       
    58 		 * From @c CAknDocument. Creates AppUi.
       
    59 		 *
       
    60 		 * @return generic AppUI object
       
    61 		 */
       
    62 		CEikAppUi* CreateAppUiL( );
       
    63 
       
    64 	private:
       
    65 
       
    66 		/**
       
    67 		 * Second constructor that can fail (leave).
       
    68 		 */
       
    69 		void ConstructL( );
       
    70 
       
    71 		/**
       
    72 		 * C++ default constructor.
       
    73 		 */
       
    74 		CLockAppDocument( CEikApplication& aApp );
       
    75 
       
    76 	};
       
    77 
       
    78 #endif // __LOCKAPP_DOCUMENT_H__