phonesrv_plat/converged_call_engine_api/inc/mcceextensioninterface.h
branchRCL_3
changeset 19 7d48bed6ce0c
parent 0 ff3b6d0fd310
child 20 987c9837762f
equal deleted inserted replaced
18:594d59766373 19:7d48bed6ce0c
    32 * plug-in goes down.
    32 * plug-in goes down.
    33 *
    33 *
    34 *  @since S60 3.2
    34 *  @since S60 3.2
    35 */
    35 */
    36 class MCCEExtensionInterface
    36 class MCCEExtensionInterface
    37 	{
    37     {
    38 protected:
    38 protected:
    39     /** 
    39     /** 
    40     * Protected destructor. Object cannot be deleted from client.
    40     * Protected destructor. Object cannot be deleted from client.
    41     * @since S60 3.2
    41     * @since S60 3.2
    42     */
    42     */
    43     virtual ~MCCEExtensionInterface() {};
    43     virtual ~MCCEExtensionInterface() {};
    44 	
    44     
    45 public:
    45 public:
    46 
    46 
    47     /**
    47     /**
    48     * Request a custom command. Results are returned via MCCEExtensionObserver.
    48     * Request a custom command. Results are returned via MCCEExtensionObserver.
    49     * Many service-ids may map to same plug-in. 
    49     * Many service-ids may map to same plug-in. 
    60     * @return KErrNotFound No extension interface found for given service-id.
    60     * @return KErrNotFound No extension interface found for given service-id.
    61     * @return KErrNotSupported Service-id related plug-in does not support extension interface.
    61     * @return KErrNotSupported Service-id related plug-in does not support extension interface.
    62     * @return Other system wide error code.
    62     * @return Other system wide error code.
    63     */
    63     */
    64     virtual TInt RequestCommand( TUint32 iServiceId,
    64     virtual TInt RequestCommand( TUint32 iServiceId,
    65 								 TInt aRequestId, 
    65                                  TInt aRequestId, 
    66                                  TDesC8& aData ) = 0;
    66                                  TDesC8& aData ) = 0;
    67     /**
    67     /**
    68     * Cancels request. See MCCEExtensionInterface::RequestCommand for explanation of service-id 
    68     * Cancels request. See MCCEExtensionInterface::RequestCommand for explanation of service-id 
    69     * handling.
    69     * handling.
    70     * @since S60 3.2
    70     * @since S60 3.2
    74     * @return KErrNotFound No extension interface found for given service-id.
    74     * @return KErrNotFound No extension interface found for given service-id.
    75     * @return KErrNotSupported Service-id related plug-in does not support extension interface.
    75     * @return KErrNotSupported Service-id related plug-in does not support extension interface.
    76     * @return Other system wide error code.
    76     * @return Other system wide error code.
    77     */
    77     */
    78     virtual TInt CancelRequest( TUint32 iServiceId,
    78     virtual TInt CancelRequest( TUint32 iServiceId,
    79     							TInt aRequestId ) = 0;
    79                                 TInt aRequestId ) = 0;
    80 	};
    80     };
    81 
    81 
    82 
    82 
    83 #endif // MCCEEXTENSIONINTERFACE_H
    83 #endif // MCCEEXTENSIONINTERFACE_H
    84 
    84