phonecmdhandler/phonecmdhnlr/inc/PhoneHandlerMultipartyCall.h
changeset 0 ff3b6d0fd310
child 19 7d48bed6ce0c
equal deleted inserted replaced
-1:000000000000 0:ff3b6d0fd310
       
     1 /*
       
     2 * Copyright (c) 2002-2005 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: Declaration of CPhoneHandlerMultipartyCall class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CPHONEHANDLERMULTIPARTYCALL_H
       
    20 #define CPHONEHANDLERMULTIPARTYCALL_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include "PhoneHandlerCallBase.h"
       
    24 #include <RemConExtensionApi.h>
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 // MACROS
       
    29 
       
    30 // DATA TYPES
       
    31 
       
    32 // FUNCTION PROTOTYPES
       
    33 
       
    34 // FORWARD DECLARATIONS
       
    35 class CPhoneHandlerControl;
       
    36 
       
    37 // CLASS DECLARATION
       
    38 
       
    39 /**
       
    40 *  Handles multiparty call key press.
       
    41 *
       
    42 *  @lib PhoneCmdHandler
       
    43 *  @since S60 3.1
       
    44 */
       
    45 NONSHARABLE_CLASS( CPhoneHandlerMultipartyCall ) : public CPhoneHandlerCallBase
       
    46 												   
       
    47     {
       
    48     public:  // Constructors and destructor
       
    49         
       
    50         /**
       
    51         * Two-phased constructor.
       
    52         */
       
    53         static CPhoneHandlerMultipartyCall* NewL( 
       
    54         	CPhoneHandlerControl& aControl,
       
    55         	TRemConExtCallHandlingApiOperationId aOperation 
       
    56             	= ERemConExt3WaysCalling
       
    57         	);
       
    58         
       
    59         /**
       
    60         * Destructor.
       
    61         */
       
    62         virtual ~CPhoneHandlerMultipartyCall();
       
    63 
       
    64     public: // New functions
       
    65     
       
    66     public: // Functions from base classes
       
    67 
       
    68         /**
       
    69         * From MPhoneHandlerService. Starts processing service.
       
    70         * @since S60 3.1
       
    71         * @return void
       
    72         */
       
    73         void Process();
       
    74         
       
    75         /**
       
    76         * From MPhoneHandlerService. Deletes service.
       
    77         * @since S60 3.1
       
    78         * @return void
       
    79         */
       
    80         void Delete();
       
    81         
       
    82         /**
       
    83         * From MPhoneHandlerObserver. Notifies when asynchronous request has 
       
    84         * been completed.
       
    85         * @since S60 3.1
       
    86         * @param aError request error code
       
    87         * @return void
       
    88         */
       
    89         void RequestCompleted( const TInt aError );
       
    90             
       
    91     protected:  // New functions
       
    92     
       
    93     protected:  // Functions from base classes
       
    94         
       
    95     private:
       
    96 
       
    97         /**
       
    98         * C++ default constructor.
       
    99         */
       
   100         CPhoneHandlerMultipartyCall( 
       
   101         		CPhoneHandlerControl& aControl,
       
   102         		TRemConExtCallHandlingApiOperationId aOperation );
       
   103 
       
   104         /**
       
   105         * By default Symbian 2nd phase constructor is private.
       
   106         */
       
   107         void ConstructL();
       
   108 
       
   109     public:     // Data
       
   110       
       
   111     protected:  // Data
       
   112       
       
   113     private:    // Data
       
   114             
       
   115         // reference to control
       
   116         CPhoneHandlerControl& iControl;
       
   117         
       
   118         // iOperation is used to give response to exact RemConExtensionApi
       
   119         // command
       
   120         TRemConExtCallHandlingApiOperationId iOperation;
       
   121      
       
   122     public:     // Friend classes
       
   123     
       
   124     protected:  // Friend classes
       
   125     
       
   126     private:    // Friend classes
       
   127     
       
   128     };
       
   129 
       
   130 #endif      // CPHONEHANDLERMULTIPARTYCALL_H   
       
   131             
       
   132 // End of File