vtuis/videotelui/src/features/softkey/cvtuisoftkeysetting.cpp
changeset 0 ed9695c8bcbe
equal deleted inserted replaced
-1:000000000000 0:ed9695c8bcbe
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Softkey setting implementation.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <cvtlogger.h>
       
    20 #include <eikbtgpc.h>
       
    21 
       
    22 #include "cvtuisoftkeys.h"
       
    23 #include "cvtuisoftkeysetting.h"
       
    24 #include "cvtuisoftkeyvalidationaction.h"
       
    25 
       
    26 // ======== LOCAL FUNCTIONS ========
       
    27 
       
    28 // ---------------------------------------------------------------------------
       
    29 // CVtUiSoftkeySetting::~CVtUiSoftkeySetting
       
    30 // ---------------------------------------------------------------------------
       
    31 //
       
    32 CVtUiSoftkeySetting::~CVtUiSoftkeySetting()
       
    33     {
       
    34     __VTPRINTENTER( "SKSet.~" )
       
    35     __VTPRINTEXIT( "SKSet.~" )
       
    36     }
       
    37 
       
    38 // ---------------------------------------------------------------------------
       
    39 // CVtUiSoftkeySetting::CVtUiSoftkeySetting
       
    40 // ---------------------------------------------------------------------------
       
    41 //
       
    42 CVtUiSoftkeySetting::CVtUiSoftkeySetting( CVtUiSoftkeys& aSoftkeys ) :
       
    43     CVtUiCommandSetting( ECommandTypeSoftkeys ),
       
    44     iSoftkeys( &aSoftkeys )
       
    45     {
       
    46     __VTPRINTENTER( "SKSet.ctor" )
       
    47     __VTPRINTEXIT( "SKSet.ctor" )
       
    48     }
       
    49 
       
    50 // ---------------------------------------------------------------------------
       
    51 // CVtUiSoftkeySetting::DoDefineCommandsL
       
    52 // ---------------------------------------------------------------------------
       
    53 //
       
    54 void CVtUiSoftkeySetting::DoDefineCommandsL()
       
    55     {
       
    56     __VTPRINTENTER( "SKSet.DoDefineCommandsL" )
       
    57     iSoftkeys->ButtonGroup().SetCommandSetL( Action().ResourceId() );
       
    58     __VTPRINTEXIT( "SKSet.DoDefineCommandsL" )
       
    59     }