mcustomcommand.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : MCustomCommand.h
00004 *  Part of     :
00005 *  Interface   : ?Interface_category, ?Interface_name
00006 *  Description : Definition of custom command interface
00007 *  Version     : 1
00008 *
00009 *  Copyright (c) 2004 Nokia Corporation.
00010 *  This material, including documentation and any related
00011 *  computer programs, is protected by copyright controlled by
00012 *  Nokia Corporation. All rights are reserved. Copying,
00013 *  including reproducing, storing, adapting or translating, any
00014 *  or all of this material requires the prior written consent of
00015 *  Nokia Corporation. This material also contains confidential
00016 *  information which may not be disclosed to others without the
00017 *  prior written consent of Nokia Corporation.
00018 * ==============================================================================
00019 */
00020 
00021 #ifndef __MCUSTOMCOMMAND_H
00022 #define __MCUSTOMCOMMAND_H
00023 
00024 #include <e32std.h>
00025 #include <mmf/common/mmfcontrollerframework.h>
00026 
00027 class MCustomCommand
00028         {
00029 public:
00030         virtual TInt CustomCommandSync(const TMMFMessageDestinationPckg&  aDestination,
00031                                              TInt                         aFunction,
00032                                        const TDesC8&                      aDataTo1,
00033                                        const TDesC8&                      aDataTo2,
00034                                              TDes8&                       aDataFrom) = 0;
00035 
00036         virtual TInt CustomCommandSync(const TMMFMessageDestinationPckg&  aDestination,
00037                                              TInt                         aFunction,
00038                                        const TDesC8&                      aDataTo1,
00039                                        const TDesC8&                      aDataTo2) = 0;
00040 
00041         virtual void CustomCommandAsync(const TMMFMessageDestinationPckg& aDestination,
00042                                               TInt                        aFunction,
00043                                         const TDesC8&                     aDataTo1,
00044                                         const TDesC8&                     aDataTo2,
00045                                               TDes8&                      aDataFrom,
00046                                               TRequestStatus&             aStatus) = 0;
00047 
00048         virtual void CustomCommandAsync(const TMMFMessageDestinationPckg& aDestination,
00049                                               TInt                        aFunction,
00050                                         const TDesC8&                     aDataTo1,
00051                                         const TDesC8&                     aDataTo2,
00052                                               TRequestStatus&             aStatus) = 0;
00053 
00054         };
00055 
00056 #endif

Copyright © Nokia Corporation 2001-2008
Back to top