customization/isadapter/inc/IdleSoftkeysAppTargetManager.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 08:40:12 +0200
changeset 0 3ce708148e4d
child 15 a04cc51a130f
permissions -rw-r--r--
Revision: 200949 Kit: 200951

/*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  DM Idle SoftKey Adapter
*
*/


#ifndef __IdleSoftkeysAppTargetManager_H__
#define __IdleSoftkeysAppTargetManager_H__

// symbian
#include <e32base.h>
#include <smldmadapter.h>

class CUiSettingsUtil;

class CIdleSoftkeysAppTargetManager : public CBase
    {

    public:

    
    CIdleSoftkeysAppTargetManager::CIdleSoftkeysAppTargetManager(MSmlDmCallback *& aCallBack);
    ~CIdleSoftkeysAppTargetManager();
    
    //
    // Targets
    //
    TInt        ListTargetsL                            (
                                                        CBufFlat &aList
                                                        );

    HBufC8*     GenerateNodeNameL                       (
                                                        TInt aIndex
                                                        );

    void        GetTargetFromNodeNameL                  (
                                                        const TDesC8& aNodeName,
                                                        TInt &aIndex,
                                                        TDes8 &aTargetCaption
                                                        );

    void        SetCaptionL                             (
                                                        const TDesC8& aURI,
                                                        const TDesC8& aCaption
                                                        );

    private:
	
	TBool					iUiSettingsNotInitialized;
    MSmlDmCallback*         &iCallBack;
    CUiSettingsUtil 		*iUiSettings;
    };

#endif //__IdleSoftkeysAppTargetManager_H__