diff -r cb62a4f66ebe -r 6297cdf66332 widgets/widgetsidchecker/inc/widgetsidchecker.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/widgets/widgetsidchecker/inc/widgetsidchecker.h Mon Jan 18 21:20:18 2010 +0200 @@ -0,0 +1,42 @@ +/* +* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "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: +* +*/ +#ifndef __WIDGETSIDCHECKER_H__ +#define __WIDGETSIDCHECKER_H__ + +#include +#include + +class RWidgetRegistryClientSession; + +NONSHARABLE_CLASS(CWidgetSidChecker) : public CAppSidChecker + { +public: + static CWidgetSidChecker* NewL(); + ~CWidgetSidChecker(); + +public: + virtual TBool AppRegisteredAt(const TUid& aSid, TDriveUnit aDrive); + virtual void SetRescanCallBackL(const TCallBack &aCallback); + +private: + CWidgetSidChecker(); + TBool AppRegisteredAtL(TUid aSid ); + RWidgetRegistryClientSession iClientSession; + }; + +#endif +