widgets/widgetsidchecker/inc/widgetsidchecker.h
changeset 27 6297cdf66332
child 41 4bd5176e1bc8
--- /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 <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
+