photosgallery/logging/app/src/glxloggingdocument.cpp
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 #include "glxloggingappui.h"
       
    22 #include "glxloggingdocument.h"
       
    23 
       
    24 
       
    25 CGlxLoggingDocument* CGlxLoggingDocument::NewL(CEikApplication& aApp)
       
    26     {
       
    27     CGlxLoggingDocument* self = NewLC(aApp);
       
    28     CleanupStack::Pop(self);
       
    29     return self;
       
    30     }
       
    31 
       
    32 CGlxLoggingDocument* CGlxLoggingDocument::NewLC(CEikApplication& aApp)
       
    33     {
       
    34     CGlxLoggingDocument* self = new (ELeave) CGlxLoggingDocument(aApp);
       
    35     CleanupStack::PushL(self);
       
    36     self->ConstructL();
       
    37     return self;
       
    38     }
       
    39 
       
    40 void CGlxLoggingDocument::ConstructL()
       
    41     {
       
    42 	// no implementation required
       
    43     }    
       
    44 
       
    45 CGlxLoggingDocument::CGlxLoggingDocument(CEikApplication& aApp) : CAknDocument(aApp) 
       
    46     {
       
    47 	// no implementation required
       
    48     }
       
    49 
       
    50 CGlxLoggingDocument::~CGlxLoggingDocument()
       
    51     {
       
    52 	// no implementation required
       
    53     }
       
    54 
       
    55 CEikAppUi* CGlxLoggingDocument::CreateAppUiL()
       
    56     {
       
    57     // Create the application user interface, and return a pointer to it,
       
    58     // the framework takes ownership of this object
       
    59     CEikAppUi* appUi = new (ELeave) CGlxLoggingAppUi;
       
    60     return appUi;
       
    61     }
       
    62