phoneapp/phoneuiutils/src/tphonecmdparamreconnectquery.cpp
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 51 f39ed5e045e0
child 62 5266b1f337bd
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
    29 // C++ default constructor can NOT contain any code, that
    29 // C++ default constructor can NOT contain any code, that
    30 // might leave.
    30 // might leave.
    31 // -----------------------------------------------------------------------------
    31 // -----------------------------------------------------------------------------
    32 //
    32 //
    33 EXPORT_C TPhoneCmdParamReconnectQuery::TPhoneCmdParamReconnectQuery( 
    33 EXPORT_C TPhoneCmdParamReconnectQuery::TPhoneCmdParamReconnectQuery( 
    34 	MCaUiReconnectQueryObserver& aObserver ):
    34     MCaUiReconnectQueryObserver& aObserver ):
    35     TPhoneCommandParam(),
    35     TPhoneCommandParam(),
    36     iObserver( aObserver ),
    36     iObserver( aObserver ),
    37     iContactMatcher( NULL ),
    37     iContactMatcher( NULL ),
    38     iPhoneNumber( KNullDesC ),
    38     iPhoneNumber( KNullDesC ),
    39     iIncludeVideoCallOption( EFalse )
    39     iIncludeVideoCallOption( EFalse )
    45 // TPhoneCmdParamReconnectQuery::SetContactMatcher
    45 // TPhoneCmdParamReconnectQuery::SetContactMatcher
    46 // ---------------------------------------------------------
    46 // ---------------------------------------------------------
    47 //
    47 //
    48 EXPORT_C void TPhoneCmdParamReconnectQuery::SetContactMatcher( CPhCntMatcher* aPhCntMatcher )
    48 EXPORT_C void TPhoneCmdParamReconnectQuery::SetContactMatcher( CPhCntMatcher* aPhCntMatcher )
    49     {
    49     {
    50    	__ASSERT_DEBUG( aPhCntMatcher, 
    50     __ASSERT_DEBUG( aPhCntMatcher, 
    51    		Panic( EPhoneUtilsParameterNotInitialized ) );
    51         Panic( EPhoneUtilsParameterNotInitialized ) );
    52     iContactMatcher = aPhCntMatcher;   
    52     iContactMatcher = aPhCntMatcher;   
    53     }
    53     }
    54 
    54 
    55 // ---------------------------------------------------------
    55 // ---------------------------------------------------------
    56 // TPhoneCmdParamReconnectQuery::SetPhoneNumber
    56 // TPhoneCmdParamReconnectQuery::SetPhoneNumber
    76 // ---------------------------------------------------------
    76 // ---------------------------------------------------------
    77 //
    77 //
    78 EXPORT_C MCaUiReconnectQueryObserver& TPhoneCmdParamReconnectQuery::ReconnectQueryObserver() const
    78 EXPORT_C MCaUiReconnectQueryObserver& TPhoneCmdParamReconnectQuery::ReconnectQueryObserver() const
    79     {
    79     {
    80     return iObserver;
    80     return iObserver;
    81 	}
    81     }
    82 
    82 
    83 // ---------------------------------------------------------
    83 // ---------------------------------------------------------
    84 // TPhoneCmdParamReconnectQuery::ContactMatcher
    84 // TPhoneCmdParamReconnectQuery::ContactMatcher
    85 // ---------------------------------------------------------
    85 // ---------------------------------------------------------
    86 //
    86 //
    87 EXPORT_C CPhCntMatcher* TPhoneCmdParamReconnectQuery::ContactMatcher() const
    87 EXPORT_C CPhCntMatcher* TPhoneCmdParamReconnectQuery::ContactMatcher() const
    88 	{
    88     {
    89    	return iContactMatcher;
    89     return iContactMatcher;
    90    	}
    90     }
    91 
    91 
    92 // ---------------------------------------------------------
    92 // ---------------------------------------------------------
    93 // TPhoneCmdParamReconnectQuery::PhoneNumber
    93 // TPhoneCmdParamReconnectQuery::PhoneNumber
    94 // ---------------------------------------------------------
    94 // ---------------------------------------------------------
    95 //
    95 //
    96 EXPORT_C const TPtrC TPhoneCmdParamReconnectQuery::PhoneNumber() const
    96 EXPORT_C const TPtrC TPhoneCmdParamReconnectQuery::PhoneNumber() const
    97    	{
    97     {
    98    	return iPhoneNumber;
    98     return iPhoneNumber;
    99    	}
    99     }
   100 
   100 
   101 // ---------------------------------------------------------
   101 // ---------------------------------------------------------
   102 // TPhoneCmdParamReconnectQuery::IncludeVideoCallOption
   102 // TPhoneCmdParamReconnectQuery::IncludeVideoCallOption
   103 // ---------------------------------------------------------
   103 // ---------------------------------------------------------
   104 //
   104 //
   105 EXPORT_C TBool TPhoneCmdParamReconnectQuery::IncludeVideoCallOption() const
   105 EXPORT_C TBool TPhoneCmdParamReconnectQuery::IncludeVideoCallOption() const
   106    	{
   106     {
   107    	return iIncludeVideoCallOption;
   107     return iIncludeVideoCallOption;
   108    	}
   108     }
   109 
   109 
   110 //  End of File  
   110 //  End of File