widgets/widgetsidchecker/inc/widgetsidchecker.h
changeset 27 6297cdf66332
child 41 4bd5176e1bc8
equal deleted inserted replaced
26:cb62a4f66ebe 27:6297cdf66332
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 #ifndef __WIDGETSIDCHECKER_H__
       
    18 #define __WIDGETSIDCHECKER_H__
       
    19 
       
    20 #include <apsidchecker.h>
       
    21 #include <WidgetRegistryClient.h>
       
    22 
       
    23 class RWidgetRegistryClientSession;
       
    24 
       
    25 NONSHARABLE_CLASS(CWidgetSidChecker) : public CAppSidChecker
       
    26 	{
       
    27 public:
       
    28 	static CWidgetSidChecker* NewL();
       
    29 	~CWidgetSidChecker();
       
    30 
       
    31 public:
       
    32 	virtual TBool AppRegisteredAt(const TUid& aSid, TDriveUnit aDrive);
       
    33 	virtual void SetRescanCallBackL(const TCallBack &aCallback);
       
    34 
       
    35 private:
       
    36     CWidgetSidChecker();
       
    37     TBool AppRegisteredAtL(TUid aSid );
       
    38     RWidgetRegistryClientSession  iClientSession;
       
    39 	};
       
    40 
       
    41 #endif
       
    42