widgets/widgetsidchecker/inc/widgetsidchecker.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 18 Jan 2010 21:20:18 +0200
changeset 27 6297cdf66332
child 41 4bd5176e1bc8
permissions -rw-r--r--
Revision: 201001 Kit: 201003

/*
* 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 <apsidchecker.h>
#include <WidgetRegistryClient.h>

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