diff -r e16d72588c28 -r 8a03a285ab14 omadrm/drmplugins/drmromtm/server/inc/RoMtmSer.h --- a/omadrm/drmplugins/drmromtm/server/inc/RoMtmSer.h Fri Mar 12 15:43:46 2010 +0200 +++ b/omadrm/drmplugins/drmromtm/server/inc/RoMtmSer.h Mon Mar 15 12:41:43 2010 +0200 @@ -23,9 +23,9 @@ #include #include #include -#include -#include -#include +#include +#include +#include @@ -40,180 +40,180 @@ // CLASS DECLARATION /** -* CRightsObjectServerMtm -* +* CRightsObjectServerMtm +* * @lib RoMtmSer.lib * @since 2.5 */ // -// CRightsObjectServerMtm: The Server-side MTM implementation +// CRightsObjectServerMtm: The Server-side MTM implementation // class CRightsObjectServerMtm : public CBaseServerMtm - { - public: + { + public: - // Constructor, initialisation, and destructor + // Constructor, initialisation, and destructor /** * Two-phased constructor. */ - IMPORT_C static CRightsObjectServerMtm* NewL( CRegisteredMtmDll& aRegisteredMtmDll , CMsvServerEntry* aInitialEntry ); - + IMPORT_C static CRightsObjectServerMtm* NewL( CRegisteredMtmDll& aRegisteredMtmDll , CMsvServerEntry* aInitialEntry ); + /** * Destructor. - */ - ~CRightsObjectServerMtm(); + */ + ~CRightsObjectServerMtm(); - /************************************* - * - * from CBaseMtm - * - **************************************/ - // Copy and move - - /** + /************************************* + * + * from CBaseMtm + * + **************************************/ + // Copy and move + + /** * CopyToLocalL * @since 2.5 - * - * Not Supported - * + * + * Not Supported + * */ - void CopyToLocalL( const CMsvEntrySelection& aSelection , TMsvId aDestination , TRequestStatus& aStatus ); + void CopyToLocalL( const CMsvEntrySelection& aSelection , TMsvId aDestination , TRequestStatus& aStatus ); - /** + /** * CopyFromLocalL * @since 2.5 - * - * Not Supported - * + * + * Not Supported + * */ - void CopyFromLocalL( const CMsvEntrySelection& aSelection , TMsvId aDestination , TRequestStatus& aStatus ); + void CopyFromLocalL( const CMsvEntrySelection& aSelection , TMsvId aDestination , TRequestStatus& aStatus ); - /** + /** * CopyToLocalL * @since 2.5 - * - * Not Supported - * - */ - void CopyWithinServiceL( const CMsvEntrySelection& aSelection , TMsvId aDestination , TRequestStatus& aStatus ); - - /** + * + * Not Supported + * + */ + void CopyWithinServiceL( const CMsvEntrySelection& aSelection , TMsvId aDestination , TRequestStatus& aStatus ); + + /** * MoveToLocalL * @since 2.5 - * - * Not Supported - * - */ - void MoveToLocalL( const CMsvEntrySelection& aSelection , TMsvId aDestination , TRequestStatus& aStatus ); - - /** + * + * Not Supported + * + */ + void MoveToLocalL( const CMsvEntrySelection& aSelection , TMsvId aDestination , TRequestStatus& aStatus ); + + /** * MoveFromLocalL * @since 2.5 - * - * Not Supported - * + * + * Not Supported + * */ - void MoveFromLocalL( const CMsvEntrySelection& aSelection , TMsvId aDestination , TRequestStatus& aStatus ); - - /** + void MoveFromLocalL( const CMsvEntrySelection& aSelection , TMsvId aDestination , TRequestStatus& aStatus ); + + /** * MoveWithinServiceL * @since 2.5 - * - * Not Supported - * + * + * Not Supported + * */ - void MoveWithinServiceL( const CMsvEntrySelection& aSelection , TMsvId aDestination , TRequestStatus& aStatus ); + void MoveWithinServiceL( const CMsvEntrySelection& aSelection , TMsvId aDestination , TRequestStatus& aStatus ); - // Create, change, delete - - /** + // Create, change, delete + + /** * DeleteAllL * @since 2.5 - * - * Not Supported - * + * + * Not Supported + * */ - void DeleteAllL( const CMsvEntrySelection& aSelection , TRequestStatus& aStatus ); - - /** + void DeleteAllL( const CMsvEntrySelection& aSelection , TRequestStatus& aStatus ); + + /** * CreateL * @since 2.5 - * - * Not Supported - * + * + * Not Supported + * */ - void CreateL( TMsvEntry aNewEntry , TRequestStatus& aStatus ); - - /** + void CreateL( TMsvEntry aNewEntry , TRequestStatus& aStatus ); + + /** * ChangeL * @since 2.5 - * - * Not Supported - * + * + * Not Supported + * */ - void ChangeL( TMsvEntry aNewEntry , TRequestStatus& aStatus ); + void ChangeL( TMsvEntry aNewEntry , TRequestStatus& aStatus ); - // Command and progress - - /** + // Command and progress + + /** * StartCommandL * @since 2.5 - * - * Not Supported - * + * + * Not Supported + * */ - void StartCommandL( CMsvEntrySelection& aSelection , TInt aCommand , - const TDesC8& aParameter , TRequestStatus& aStatus ); - - /** + void StartCommandL( CMsvEntrySelection& aSelection , TInt aCommand , + const TDesC8& aParameter , TRequestStatus& aStatus ); + + /** * CommandExpected * @since 2.5 - * - * Not Supported - * + * + * Not Supported + * */ - TBool CommandExpected(); - - - /** + TBool CommandExpected(); + + + /** * Progress * @since 2.5 - * - * Not Supported - * + * + * Not Supported + * */ - const TDesC8& Progress(); + const TDesC8& Progress(); + + // void RunL() + // void SetInitialEntry(CMsvServerEntry* aEntry)=0; + protected: - // void RunL() - // void SetInitialEntry(CMsvServerEntry* aEntry)=0; - protected: - - /************************************* - * - * from CActive - * - **************************************/ - void DoCancel(); - /************************************* - * - * from CBaseMtm - * - **************************************/ - void DoRunL(); - void DoComplete(TInt aError); + /************************************* + * + * from CActive + * + **************************************/ + void DoCancel(); + /************************************* + * + * from CBaseMtm + * + **************************************/ + void DoRunL(); + void DoComplete(TInt aError); - private: - CRightsObjectServerMtm( CRegisteredMtmDll& aRegisteredMtmDll , CMsvServerEntry* aInitialEntry ); - void ConstructL(); + private: + CRightsObjectServerMtm( CRegisteredMtmDll& aRegisteredMtmDll , CMsvServerEntry* aInitialEntry ); + void ConstructL(); - private: - }; + private: + }; #endif // RIGHTSOBJECTSERVERMTM_H - + // End of File