commondrm/drmutility/inc/DrmUiHandlingImpl.h
changeset 23 493788a4a8a4
parent 0 95b198f216e5
child 29 3bdc3b853094
child 41 29f3cf766061
equal deleted inserted replaced
5:79d62d1d7957 23:493788a4a8a4
    20 #define C_CDRMUIHANDLINGIMPL_H
    20 #define C_CDRMUIHANDLINGIMPL_H
    21 
    21 
    22 //*** system include files go here:
    22 //*** system include files go here:
    23 #include <e32base.h>
    23 #include <e32base.h>
    24 #include <f32file.h>
    24 #include <f32file.h>
    25 #include <aknserverapp.h>
    25 #include <AknServerApp.h>
    26 #include <caf/caftypes.h>
    26 #include <caf/caftypes.h>
    27 #include <caf/caferr.h>
    27 #include <caf/caferr.h>
    28 #include <drmagents.h>
    28 #include <drmagents.h>
    29 #include <drmrightsclient.h>
    29 #include <DRMRightsClient.h>
    30 #include <drmutilitytypes.h>
    30 #include <drmutilitytypes.h>
    31 
    31 
    32 //*** forward declarations go here:
    32 //*** forward declarations go here:
    33 class CCoeEnv;
    33 class CCoeEnv;
    34 class CDRMConstraint;
    34 class CDRMConstraint;
   516     void DoCancel();
   516     void DoCancel();
   517 
   517 
   518     /**
   518     /**
   519     * From CActive Called when async request completes.
   519     * From CActive Called when async request completes.
   520     */
   520     */
   521 	void RunL();
   521     void RunL();
   522 
   522 
   523     /**
   523     /**
   524     * From CActive Called when RunL leaves
   524     * From CActive Called when RunL leaves
   525     */
   525     */
   526 	TInt RunError( TInt aError );
   526     TInt RunError( TInt aError );
   527 
   527 
   528 private:
   528 private:
   529 
   529 
   530     /**
   530     /**
   531     * C++ default constructor.
   531     * C++ default constructor.
   766     */
   766     */
   767     TBool LaunchBrowserL( const HBufC8* aUrl );
   767     TBool LaunchBrowserL( const HBufC8* aUrl );
   768     TBool LaunchBrowserL( const HBufC* aUrl );
   768     TBool LaunchBrowserL( const HBufC* aUrl );
   769 
   769 
   770     /**
   770     /**
   771     * Get rights silently, if notes are not intended to be shown, put aShowNotes to EFalse 
   771     * Get rights silently, if notes are not intended to be shown, put aShowNotes to EFalse
   772     */
   772     */
   773     TInt GetSilentRightsL( const TDesC8& aUrl, const TBool aShowNotes );
   773     TInt GetSilentRightsL( const TDesC8& aUrl, const TBool aShowNotes );
   774 
   774 
   775     /**
   775     /**
   776     * Check if the user has allowed silent rights
   776     * Check if the user has allowed silent rights
   789 
   789 
   790     /**
   790     /**
   791     * Handles exit from service
   791     * Handles exit from service
   792     * from MAknServerAppExitObserver
   792     * from MAknServerAppExitObserver
   793     */
   793     */
   794 	void HandleServerAppExit(TInt aReason);
   794     void HandleServerAppExit(TInt aReason);
   795 
   795 
   796     /**
   796     /**
   797      * Appends new async request data to async operation queue.
   797      * Appends new async request data to async operation queue.
   798      *
   798      *
   799      * @param[in]   aData: The data set in/out.
   799      * @param[in]   aData: The data set in/out.
   811 
   811 
   812     void GetOmaBasedInfoL();
   812     void GetOmaBasedInfoL();
   813 
   813 
   814     /**
   814     /**
   815     * Gets SilentRights and
   815     * Gets SilentRights and
   816     * checks status after 
   816     * checks status after
   817     * CallSilentAvailble after right
   817     * CallSilentAvailble after right
   818     * @return Etrue, if silent RO rerieval led to usable content
   818     * @return Etrue, if silent RO rerieval led to usable content
   819     */
   819     */
   820     TBool CDrmUiHandlingImpl::GetSilentAndCallL(
   820     TBool CDrmUiHandlingImpl::GetSilentAndCallL(
   821         MDrmHandleErrorObserver* aObserver,
   821         MDrmHandleErrorObserver* aObserver,