phonecmdhandler/phonecmdhnlr/src/PhoneHandler.cpp
branchRCL_3
changeset 19 7d48bed6ce0c
parent 0 ff3b6d0fd310
child 20 987c9837762f
equal deleted inserted replaced
18:594d59766373 19:7d48bed6ce0c
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 // INCLUDE FILES
    19 // INCLUDE FILES
    20 #include "PhoneHandlerControl.h"
    20 #include "phonehandlercontrol.h" 
    21 #include "PhoneHandlerDebug.h"
    21 #include "phonehandlerdebug.h" 
    22 #include "PhoneHandler.h"
    22 #include "PhoneHandler.h" 
    23 
    23 
    24 // EXTERNAL DATA STRUCTURES
    24 // EXTERNAL DATA STRUCTURES
    25 
    25 
    26 // EXTERNAL FUNCTION PROTOTYPES  
    26 // EXTERNAL FUNCTION PROTOTYPES  
    27 
    27 
    58 // -----------------------------------------------------------------------------
    58 // -----------------------------------------------------------------------------
    59 //
    59 //
    60 void CPhoneHandler::ConstructL( CRemConInterfaceSelector* aIfSelector )
    60 void CPhoneHandler::ConstructL( CRemConInterfaceSelector* aIfSelector )
    61     {
    61     {
    62     COM_TRACE_1( "[PHONECMDHANDLER] CPhoneHandler::ConstructL() *aIfSelector=%d", aIfSelector );
    62     COM_TRACE_1( "[PHONECMDHANDLER] CPhoneHandler::ConstructL() *aIfSelector=%d", aIfSelector );
    63 	    
    63         
    64     iControl = CPhoneHandlerControl::NewL( aIfSelector );
    64     iControl = CPhoneHandlerControl::NewL( aIfSelector );
    65 	}
    65     }
    66 
    66 
    67 // -----------------------------------------------------------------------------
    67 // -----------------------------------------------------------------------------
    68 // CPhoneHandler::NewL
    68 // CPhoneHandler::NewL
    69 // Two-phased constructor.
    69 // Two-phased constructor.
    70 // -----------------------------------------------------------------------------
    70 // -----------------------------------------------------------------------------
    84 // CPhoneHandler::NewL
    84 // CPhoneHandler::NewL
    85 // Two-phased constructor.
    85 // Two-phased constructor.
    86 // -----------------------------------------------------------------------------
    86 // -----------------------------------------------------------------------------
    87 //    
    87 //    
    88 EXPORT_C CPhoneHandler* CPhoneHandler::NewL( 
    88 EXPORT_C CPhoneHandler* CPhoneHandler::NewL( 
    89 							CRemConInterfaceSelector& aIfSelector )
    89                             CRemConInterfaceSelector& aIfSelector )
    90 	{
    90     {
    91 	CPhoneHandler* self = new ( ELeave ) CPhoneHandler();
    91     CPhoneHandler* self = new ( ELeave ) CPhoneHandler();
    92     
    92     
    93     CleanupStack::PushL( self );
    93     CleanupStack::PushL( self );
    94     self->ConstructL( &aIfSelector );
    94     self->ConstructL( &aIfSelector );
    95     CleanupStack::Pop( self );
    95     CleanupStack::Pop( self );
    96 
    96