wmdrm/camese/wmdrmdlautils/inc/wmdrmdlaappclient.h
branchRCL_3
changeset 12 8a03a285ab14
parent 0 95b198f216e5
equal deleted inserted replaced
11:e16d72588c28 12:8a03a285ab14
    18 
    18 
    19 #ifndef R_WMDRMDLAAPPCLIENT_H
    19 #ifndef R_WMDRMDLAAPPCLIENT_H
    20 #define R_WMDRMDLAAPPCLIENT_H
    20 #define R_WMDRMDLAAPPCLIENT_H
    21 
    21 
    22 #include <e32base.h>
    22 #include <e32base.h>
    23 #include <aknserverapp.h>
    23 #include <AknServerApp.h>
    24 
    24 
    25 /**
    25 /**
    26  *  WMDRM DLA App Client Interface
    26  *  WMDRM DLA App Client Interface
    27  *
    27  *
    28  *  @lib wmdrmdlautils.lib
    28  *  @lib wmdrmdlautils.lib
    32     {
    32     {
    33 
    33 
    34     public:
    34     public:
    35 
    35 
    36         virtual ~RWmDrmDlaAppClient();
    36         virtual ~RWmDrmDlaAppClient();
    37         
    37 
    38         /**
    38         /**
    39          * Sets IAP to browser view
    39          * Sets IAP to browser view
    40          *
    40          *
    41          * @param aIap IAP ID to be used in browser view
    41          * @param aIap IAP ID to be used in browser view
    42          * @return Error code
    42          * @return Error code
    43          */
    43          */
    44         TInt SetIAP( TInt aIap );
    44         TInt SetIAP( TInt aIap );
    45         
    45 
    46         /**
    46         /**
    47          * Makes a POST request to browser view
    47          * Makes a POST request to browser view
    48          *
    48          *
    49          * @param aPostUrl URL, where POST request is done
    49          * @param aPostUrl URL, where POST request is done
    50          * @param aPostContentType Content type of the POST operation
    50          * @param aPostContentType Content type of the POST operation
    54          */
    54          */
    55         TInt Post( const TDesC& aPostUrl,
    55         TInt Post( const TDesC& aPostUrl,
    56                    const TDesC8& aPostContentType,
    56                    const TDesC8& aPostContentType,
    57                    const TDesC8& aPostData,
    57                    const TDesC8& aPostData,
    58                    const TDesC8& aPostContentBoundary );
    58                    const TDesC8& aPostContentBoundary );
    59         
    59 
    60         /**
    60         /**
    61          * Gets the license response from the browser view
    61          * Gets the license response from the browser view
    62          *
    62          *
    63          * @param aLicenseResponse Pointer, where license response is saved.
    63          * @param aLicenseResponse Pointer, where license response is saved.
    64          *                         Must be NULL.
    64          *                         Must be NULL.
    65          * @return Error code
    65          * @return Error code
    66          */
    66          */
    67         TInt LicenseResponse( HBufC8*& aLicenseResponse );
    67         TInt LicenseResponse( HBufC8*& aLicenseResponse );
    68         
    68 
    69     private: // from RApaAppServiceBase
    69     private: // from RApaAppServiceBase
    70     
    70 
    71         TUid ServiceUid() const;
    71         TUid ServiceUid() const;
    72 
    72 
    73     private: // data
    73     private: // data
    74 
    74 
    75     };
    75     };