diff -r 6757f1e2efd2 -r 5b858729772b customization/isadapter/inc/IdleSoftkeysAppTargetManager.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/customization/isadapter/inc/IdleSoftkeysAppTargetManager.h Wed Sep 01 12:31:32 2010 +0100 @@ -0,0 +1,68 @@ +/* +* 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 +#include + +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__ + +