gssettingsuis/Gs/GSApplication/Src/GSDocument.cpp
branchRCL_3
changeset 24 8ee96d21d9bf
parent 23 8bda91a87a00
child 25 7e0eff37aedb
equal deleted inserted replaced
23:8bda91a87a00 24:8ee96d21d9bf
     1 /*
       
     2 * Copyright (c) 2002-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:  Document for the General Settings Application
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include    <bldvariant.hrh>
       
    21 
       
    22 #include    "GSDocument.h"
       
    23 #include    "GSUi.h"
       
    24 #include    "gsplugininterface.h"
       
    25 #include    "gspluginloader.h"
       
    26 
       
    27 
       
    28 // ================= MEMBER FUNCTIONS =======================
       
    29 
       
    30 // ----------------------------------------------------
       
    31 // CGSDocument::ConstructL()
       
    32 // Symbian OS default constructor can leave.
       
    33 //
       
    34 // ----------------------------------------------------
       
    35 //
       
    36 void CGSDocument::ConstructL()
       
    37     {
       
    38     CGSBaseDocument::ConstructL();
       
    39     }
       
    40 
       
    41 
       
    42 // ----------------------------------------------------
       
    43 // CGSDocument::~CGSDocument
       
    44 // Symbian OS destructor
       
    45 //
       
    46 // ----------------------------------------------------
       
    47 //
       
    48 CGSDocument::~CGSDocument()
       
    49     {
       
    50     }
       
    51 
       
    52 
       
    53 // ----------------------------------------------------
       
    54 // CGSDocument::NewL()
       
    55 // Two-phased constructor.
       
    56 //
       
    57 // ----------------------------------------------------
       
    58 //
       
    59 CGSDocument* CGSDocument::NewL( CEikApplication& aApp )
       
    60     {
       
    61     CGSDocument* self = new( ELeave ) CGSDocument( aApp );
       
    62     CleanupStack::PushL( self );
       
    63     self->ConstructL();
       
    64     CleanupStack::Pop( self );
       
    65     return self;
       
    66     }
       
    67 
       
    68 
       
    69 // ----------------------------------------------------
       
    70 // CGSDocument::ModelCdma()
       
    71 // Returns the CDMA model.
       
    72 //
       
    73 // ----------------------------------------------------
       
    74 //
       
    75 CGSModelCdma* CGSDocument::ModelCdma()
       
    76     {
       
    77     // CDMA engine is not supported by this variant.
       
    78     return NULL;
       
    79     }
       
    80 
       
    81 
       
    82 // ----------------------------------------------------
       
    83 // CGSDocument::CreateAppUiL()
       
    84 // constructs CGSUi
       
    85 //
       
    86 // ----------------------------------------------------
       
    87 //
       
    88 CEikAppUi* CGSDocument::CreateAppUiL()
       
    89     {
       
    90     CGSUi* appUi = new(ELeave) CGSUi();
       
    91     return appUi;
       
    92     }
       
    93 
       
    94 
       
    95 // End of File