mmfenh/enhancedmediaclient/Client/src/Components/StreamControl/CMCustomCommand.h
changeset 0 71ca22bcf22a
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Definition of the CMCustomCommand class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CMCUSTOMCOMMAND_H
       
    20 #define CMCUSTOMCOMMAND_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <MCustomCommand.h>
       
    24 
       
    25 class RMMFController;
       
    26 
       
    27 namespace multimedia
       
    28     {
       
    29     class CMCustomCommand : public MCustomCommand
       
    30         {
       
    31         public:
       
    32             CMCustomCommand(RMMFController& aController);
       
    33             ~CMCustomCommand();
       
    34             
       
    35             // From MCustomCommand
       
    36             TInt CustomCommandSync(const TMMFMessageDestinationPckg&  aDestination,
       
    37                 TInt                        aFunction,
       
    38                 const TDesC8&               aDataTo1,
       
    39                 const TDesC8&               aDataTo2,
       
    40                 TDes8&                      aDataFrom);
       
    41             
       
    42             TInt CustomCommandSync(const TMMFMessageDestinationPckg&  aDestination,
       
    43                 TInt                        aFunction,
       
    44                 const TDesC8&               aDataTo1,
       
    45                 const TDesC8&               aDataTo2);
       
    46             
       
    47             void CustomCommandAsync(const TMMFMessageDestinationPckg& aDestination,
       
    48                 TInt                        aFunction,
       
    49                 const TDesC8&               aDataTo1,
       
    50                 const TDesC8&               aDataTo2,
       
    51                 TDes8&                      aDataFrom,
       
    52                 TRequestStatus&             aStatus);
       
    53             
       
    54             void CustomCommandAsync(const TMMFMessageDestinationPckg& aDestination,
       
    55                 TInt                        aFunction,
       
    56                 const TDesC8&               aDataTo1,
       
    57                 const TDesC8&               aDataTo2,
       
    58                 TRequestStatus&             aStatus);
       
    59             
       
    60         private:
       
    61             RMMFController& iController;
       
    62         };
       
    63     }
       
    64 
       
    65 #endif // CMCUSTOMCOMMAND_H
       
    66 
       
    67 // End of file