customization/isadapter/inc/IdleSoftkeysAppTargetManager.h
changeset 18 7d11f9a6646f
parent 4 75a71fdb4c92
child 21 c707676bf59f
equal deleted inserted replaced
4:75a71fdb4c92 18:7d11f9a6646f
     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:  DM Idle SoftKey Adapter
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __IdleSoftkeysAppTargetManager_H__
       
    20 #define __IdleSoftkeysAppTargetManager_H__
       
    21 
       
    22 // symbian
       
    23 #include <e32base.h>
       
    24 #include <smldmadapter.h>
       
    25 
       
    26 class CUiSettingsUtil;
       
    27 
       
    28 class CIdleSoftkeysAppTargetManager : public CBase
       
    29     {
       
    30 
       
    31     public:
       
    32 
       
    33     
       
    34     CIdleSoftkeysAppTargetManager::CIdleSoftkeysAppTargetManager(MSmlDmCallback *& aCallBack);
       
    35     ~CIdleSoftkeysAppTargetManager();
       
    36     
       
    37     //
       
    38     // Targets
       
    39     //
       
    40     TInt        ListTargetsL                            (
       
    41                                                         CBufFlat &aList
       
    42                                                         );
       
    43 
       
    44     HBufC8*     GenerateNodeNameL                       (
       
    45                                                         TInt aIndex
       
    46                                                         );
       
    47 
       
    48     void        GetTargetFromNodeNameL                  (
       
    49                                                         const TDesC8& aNodeName,
       
    50                                                         TInt &aIndex,
       
    51                                                         TDes8 &aTargetCaption
       
    52                                                         );
       
    53 
       
    54     void        SetCaptionL                             (
       
    55                                                         const TDesC8& aURI,
       
    56                                                         const TDesC8& aCaption
       
    57                                                         );
       
    58 
       
    59     private:
       
    60 	
       
    61 	TBool					iUiSettingsNotInitialized;
       
    62     MSmlDmCallback*         &iCallBack;
       
    63     CUiSettingsUtil 		*iUiSettings;
       
    64     };
       
    65 
       
    66 #endif //__IdleSoftkeysAppTargetManager_H__
       
    67 
       
    68