customization/UISettingsSrv/server/Src/UISettingsSrvDocument.cpp
changeset 0 3ce708148e4d
equal deleted inserted replaced
-1:000000000000 0:3ce708148e4d
       
     1 /*
       
     2 * Copyright (c) 2002 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: 
       
    15 *        Document for the UISettingsSrv Application
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include    "UISettingsSrvDocument.h"
       
    22 #include    "UISettingsSrvUi.h"
       
    23 #include	<apgwgnam.h>
       
    24 
       
    25 // ================= MEMBER FUNCTIONS =======================
       
    26 
       
    27 // ----------------------------------------------------
       
    28 // CUISettingsSrvDocument::~CUISettingsSrvDocument()
       
    29 // destructor
       
    30 //
       
    31 // ----------------------------------------------------
       
    32 //
       
    33 CUISettingsSrvDocument::~CUISettingsSrvDocument()
       
    34     {
       
    35     }
       
    36 
       
    37 // ----------------------------------------------------
       
    38 // CUISettingsSrvDocument::ConstructL()
       
    39 // Symbian OS default constructor can leave.
       
    40 //
       
    41 // ----------------------------------------------------
       
    42 //
       
    43 void CUISettingsSrvDocument::ConstructL()
       
    44     {
       
    45     }
       
    46 
       
    47 // ----------------------------------------------------
       
    48 // CUISettingsSrvDocument::NewL()
       
    49 // Two-phased constructor.
       
    50 //
       
    51 // ----------------------------------------------------
       
    52 //
       
    53 CUISettingsSrvDocument* CUISettingsSrvDocument::NewL(
       
    54         CEikApplication& aApp)
       
    55     {
       
    56     CUISettingsSrvDocument* self = new(ELeave) CUISettingsSrvDocument(aApp);
       
    57     CleanupStack::PushL(self);
       
    58     self->ConstructL();
       
    59     CleanupStack::Pop( self );
       
    60     return self;
       
    61     }
       
    62 
       
    63 // ----------------------------------------------------
       
    64 // CUISettingsSrvDocument::UpdateTaskNameL()
       
    65 // Two-phased constructor.
       
    66 //
       
    67 // ----------------------------------------------------
       
    68 //
       
    69 void CUISettingsSrvDocument::UpdateTaskNameL(CApaWindowGroupName* aWgName)
       
    70 	{
       
    71 	CAknDocument::UpdateTaskNameL( aWgName );
       
    72 	aWgName->SetHidden( ETrue );
       
    73 	}
       
    74 
       
    75 // ----------------------------------------------------
       
    76 // CUISettingsSrvDocument::CreateAppUiL()
       
    77 // constructs CGSUi
       
    78 //
       
    79 // ----------------------------------------------------
       
    80 //
       
    81 CEikAppUi* CUISettingsSrvDocument::CreateAppUiL()
       
    82     {
       
    83     return new(ELeave) CUISettingsSrvUi;
       
    84     }
       
    85 
       
    86 // End of File