diff -r 4af31167ea77 -r 13d7c31c74e0 dcmofw/dcmoserver/inc/dcmoserver.h --- a/dcmofw/dcmoserver/inc/dcmoserver.h Thu Jul 15 19:36:11 2010 +0300 +++ b/dcmofw/dcmoserver/inc/dcmoserver.h Thu Aug 19 10:44:50 2010 +0300 @@ -24,20 +24,21 @@ #include "dcmoclientserver.h" #include "dcmoconst.h" #include "dcmonotifieraob.h" - +#include // CONSTANTS const TUid KCRUidDCMOServer={0x2001FE47}; const TInt KDCMOKeyMaxNumber = 16; // FORWARD DECLARATIONS // CLASS DECLARATION - +class CLAWMOPluginInterface; /** * CDCMOServer * Description. */ -class CDCMOServer : public CServer2 +class CDCMOServer : public CServer2, + public MLawmoPluginWipeObserver { friend class CDCMOSession; friend class CDCMONotifierAob; @@ -85,6 +86,11 @@ * @return None */ void DropSession(); +public: + + // Callback from MLawmoPluginWipeObserver + void HandleWipeCompleted(TInt status); + //void SendGenericAlert(); private: /** @@ -166,7 +172,17 @@ * @return */ void SetStarter(TBool aValue); + + TLawMoStatus WipeItem(TInt aValue=0); + + TLawMoStatus WipeAllItem(); + TLawMoStatus GetListItemL(TDesC& item, TDes& strValue); + + TLawMoStatus GetToBeWipedL(TDesC& item, TDes& wipeValue); + + TLawMoStatus SetToBeWipedL(TDesC& item, TInt wipeValue); + private: /** @@ -174,7 +190,7 @@ * @param aCategory * @return the uid */ - TUid GetAdapterUidL(const TDesC& aCategory); + TUid GetAdapterUidL(const TDesC& aCategory, TBool aIsLawmo = EFalse); /** * Finds whether the plug-in adapter is a generic category @@ -183,11 +199,19 @@ */ TInt GetLocalCategoryL(const TDesC& aCategory); + void GetLawmoPluginUidsL(); + + void StartDMNetworkMonitorL(TDesC& aServerId, TInt iapid=0); private: RArray idcmoArray; static TInt iSessionCount; TBool iStarter; CDCMONotifierAob* iNotifier; + RArray ilawmoPluginUidToBeWiped; + RArray ilawmoPlugins; + TInt iwipeStatus; + TInt iCount; + TInt iSessionIap; }; #endif //__DCMO_SERVER_H__