fotaapplication/fotaserver/FotaServer/src/FotaSrvDocument.cpp
changeset 0 b497e44ab2fc
child 9 57a65a3a658c
equal deleted inserted replaced
-1:000000000000 0:b497e44ab2fc
       
     1 /*
       
     2 * Copyright (c) 2005 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:   Fotaserver document class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include <StringLoader.h>
       
    22 #include <ApSelect.h>
       
    23 #include <ApUtils.h>
       
    24 #include <collate.h>
       
    25 #include <featmgr.h>
       
    26 #include <fotaserver.rsg>
       
    27 #include "FotaSrvDocument.h"
       
    28 #include "FotaSrvUI.h"
       
    29 #include "FotaSrvDebug.h"
       
    30 
       
    31 // ================= MEMBER FUNCTIONS =======================
       
    32 
       
    33 // ---------------------------------------------------------------------------
       
    34 // Desctructor
       
    35 // ---------------------------------------------------------------------------
       
    36 //
       
    37 CFotaSrvDocument::~CFotaSrvDocument()
       
    38     {
       
    39     }
       
    40 
       
    41 
       
    42 // ---------------------------------------------------------------------------
       
    43 // CFotaSrvDocument::ConstructL
       
    44 // 2nd phase constructor
       
    45 // ---------------------------------------------------------------------------
       
    46 //
       
    47 void CFotaSrvDocument::ConstructL()
       
    48     {
       
    49 	//iEikEnv = CEikonEnv::Static();	
       
    50     }
       
    51 
       
    52 
       
    53 // ---------------------------------------------------------------------------
       
    54 // CFotaSrvDocument::NewL
       
    55 // Two-phased constructor.
       
    56 // ---------------------------------------------------------------------------
       
    57 //
       
    58 CFotaSrvDocument* CFotaSrvDocument::NewL( CAknApplication& aApp )
       
    59     {
       
    60     FLOG( _L( "[FotaServer] CFotaSrvDocument::NewL:" ) );
       
    61 
       
    62 	CFotaSrvDocument* self = new (ELeave) CFotaSrvDocument( aApp );
       
    63     CleanupStack::PushL( self );
       
    64     self->ConstructL();
       
    65     CleanupStack::Pop();  //self
       
    66     return self;
       
    67 	}
       
    68 
       
    69  
       
    70 // ---------------------------------------------------------------------------
       
    71 // CFotaSrvDocument::CreateAppUiL
       
    72 // ---------------------------------------------------------------------------
       
    73 //
       
    74 CEikAppUi* CFotaSrvDocument::CreateAppUiL()
       
    75     {
       
    76     FLOG( _L( "[FotaServer] CFotaSrvDocument::CreateAppUiL:" ) );
       
    77     return new (ELeave) CFotaSrvUi;
       
    78 	}
       
    79 
       
    80 
       
    81 // End of File