photosgallery/logging/app/inc/glxloggingdocument.h
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2008-2009 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:    Logging utility application for MC Photos
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __GLXLOGGING_DOCUMENT_H__
       
    22 #define __GLXLOGGING_DOCUMENT_H__
       
    23 
       
    24 
       
    25 #include <akndoc.h>
       
    26 
       
    27 // Forward references
       
    28 class CGlxLoggingAppUi;
       
    29 class CEikApplication;
       
    30 
       
    31 
       
    32 /** 
       
    33   @class CGlxLoggingDocument
       
    34   
       
    35   @discussion An instance of class CGlxLoggingDocument is the Document part of the AVKON
       
    36   application framework for the GlxLogging application
       
    37   */
       
    38 NONSHARABLE_CLASS( CGlxLoggingDocument ) : public CAknDocument
       
    39     {
       
    40 public:
       
    41 
       
    42     /**
       
    43         @function NewL
       
    44         @param aApp application creating this document
       
    45         @result a pointer to the created instance of CGlxLoggingDocument
       
    46     */
       
    47     static CGlxLoggingDocument* NewL(CEikApplication& aApp);
       
    48 
       
    49     /**
       
    50       @function NewLC
       
    51 
       
    52       @param aApp application creating this document
       
    53       @result a pointer to the created instance of CGlxLoggingDocument
       
    54       */
       
    55     static CGlxLoggingDocument* NewLC(CEikApplication& aApp);
       
    56 
       
    57     /**
       
    58       @function ~CGlxLoggingDocument
       
    59       */
       
    60     ~CGlxLoggingDocument();
       
    61 
       
    62 public: // from CAknDocument
       
    63     /**
       
    64       @function CreateAppUiL 
       
    65       @result a pointer to the created instance of the AppUi created
       
    66       */
       
    67     CEikAppUi* CreateAppUiL();
       
    68 
       
    69 private:
       
    70 
       
    71     /**
       
    72       @function ConstructL
       
    73       */
       
    74     void ConstructL();
       
    75 
       
    76     /**
       
    77       @function CGlxLoggingDocument
       
    78       @param aApp application creating this document
       
    79       */
       
    80     CGlxLoggingDocument(CEikApplication& aApp);
       
    81 
       
    82     };
       
    83 
       
    84 
       
    85 #endif // __GLXLOGGING_DOCUMENT_H__