phonecmdhandler/phonecmdhnlr/inc/PhoneHandlerRedial.h
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
    19 
    19 
    20 #ifndef CPHONEHANDLERLASTNUMBERREDIAL_H
    20 #ifndef CPHONEHANDLERLASTNUMBERREDIAL_H
    21 #define CPHONEHANDLERLASTNUMBERREDIAL_H
    21 #define CPHONEHANDLERLASTNUMBERREDIAL_H
    22 
    22 
    23 //  INCLUDES
    23 //  INCLUDES
    24 #include "phonehandlercallbase.h" 
    24 #include "PhoneHandlerCallBase.h"
    25 #include <RemConExtensionApi.h> 
    25 #include <RemConExtensionApi.h>
    26 #include <f32file.h>        
    26 #include <f32file.h>        
    27 #include <logcli.h>
    27 #include <logcli.h>
    28 #include <logview.h>
    28 #include <logview.h>
    29 
    29 
    30 // CONSTANTS
    30 // CONSTANTS
    45 *
    45 *
    46 *  @lib PhoneCmdHandler
    46 *  @lib PhoneCmdHandler
    47 *  @since S60 3.1
    47 *  @since S60 3.1
    48 */
    48 */
    49 NONSHARABLE_CLASS( CPhoneHandlerLastNumberRedial ) : public CPhoneHandlerCallBase
    49 NONSHARABLE_CLASS( CPhoneHandlerLastNumberRedial ) : public CPhoneHandlerCallBase
    50                                                      
    50 									  				 
    51     {
    51     {
    52     public: // Constructors and destructor         
    52     public:	// Constructors and destructor         
    53     
    53     
    54         /**
    54         /**
    55         * Two-phased constructor.
    55         * Two-phased constructor.
    56         */
    56         */
    57         static CPhoneHandlerLastNumberRedial* 
    57         static CPhoneHandlerLastNumberRedial* 
    58             NewL( CPhoneHandlerControl& aControl,
    58         	NewL( CPhoneHandlerControl& aControl,
    59                   TRemConExtCallHandlingApiOperationId aOperation 
    59         		  TRemConExtCallHandlingApiOperationId aOperation 
    60                     = ERemConExtLastNumberRedial );
    60         		  	= ERemConExtLastNumberRedial );
    61         
    61         
    62         /**
    62 	    /**
    63         * Destructor.
    63         * Destructor.
    64         */
    64         */
    65         virtual ~CPhoneHandlerLastNumberRedial();
    65         virtual ~CPhoneHandlerLastNumberRedial();
    66         
    66         
    67     public: // New functions
    67     public: // New functions
    68     
    68     
    69     public: // Functions from base classes
    69     public: // Functions from base classes
    70     
    70     
    71         /**
    71      	/**
    72         * From MPhoneHandlerService. Starts processing service.
    72         * From MPhoneHandlerService. Starts processing service.
    73         * @since S60 3.1
    73         * @since S60 3.1
    74         * @return void
    74         * @return void
    75         */
    75         */
    76         void Process();
    76         void Process();
    95     
    95     
    96     protected:  // Functions from base classes
    96     protected:  // Functions from base classes
    97 
    97 
    98     private:
    98     private:
    99     
    99     
   100         /**
   100 	    /**
   101         * C++ default constructor.
   101         * C++ default constructor.
   102         */
   102         */
   103         CPhoneHandlerLastNumberRedial( 
   103         CPhoneHandlerLastNumberRedial( 
   104             CPhoneHandlerControl& aControl,
   104         	CPhoneHandlerControl& aControl,
   105             TRemConExtCallHandlingApiOperationId aOperation );
   105         	TRemConExtCallHandlingApiOperationId aOperation );
   106 
   106 
   107         /**
   107 	    /**
   108         * By default Symbian 2nd phase constructor is private.
   108         * By default Symbian 2nd phase constructor is private.
   109         */
   109         */
   110         void ConstructL();
   110         void ConstructL();
   111     
   111 	
   112     public:     // Data
   112 	public:     // Data
   113     
   113     
   114     protected:  // Data
   114     protected:  // Data
   115     
   115     
   116     private:    // Data
   116     private:    // Data
   117             
   117             
   118         // A handle to a file server session.
   118 		// A handle to a file server session.
   119         RFs iFsSession;
   119         RFs iFsSession;
   120 
   120 
   121         // Log Engine implementation
   121         // Log Engine implementation
   122         CLogClient* iLogClientPtr; // owned
   122 		CLogClient* iLogClientPtr; // owned
   123 
   123 
   124         // A view on a recent event list.
   124         // A view on a recent event list.
   125         CLogViewRecent* iLogViewRecentPtr; // owned
   125 		CLogViewRecent* iLogViewRecentPtr; // owned
   126                 
   126 				
   127         // reference to control
   127 		// reference to control
   128         CPhoneHandlerControl& iControl;
   128 		CPhoneHandlerControl& iControl;
   129         
   129 		
   130         // iOperation is used to give response to exact RemConExtensionApi
   130 		// iOperation is used to give response to exact RemConExtensionApi
   131         // command
   131         // command
   132         TRemConExtCallHandlingApiOperationId iOperation;
   132         TRemConExtCallHandlingApiOperationId iOperation;
   133         
   133 		
   134     public:     // Friend classes
   134 	public:     // Friend classes
   135     
   135     
   136     protected:  // Friend classes
   136     protected:  // Friend classes
   137     
   137     
   138     private:    // Friend classes
   138     private:    // Friend classes
   139          
   139