43 // Sets the phone number. |
43 // Sets the phone number. |
44 // (other items were commented in a header). |
44 // (other items were commented in a header). |
45 // --------------------------------------------------------- |
45 // --------------------------------------------------------- |
46 // |
46 // |
47 EXPORT_C void TPhoneCmdParamSpeedDial::SetPhoneNumber( TPtr* aPhoneNumber ) |
47 EXPORT_C void TPhoneCmdParamSpeedDial::SetPhoneNumber( TPtr* aPhoneNumber ) |
48 { |
48 { |
49 __ASSERT_DEBUG( aPhoneNumber, |
49 __ASSERT_DEBUG( aPhoneNumber, |
50 Panic( EPhoneUtilsParameterNotInitialized ) ); |
50 Panic( EPhoneUtilsParameterNotInitialized ) ); |
51 iPhoneNumber = aPhoneNumber; |
51 iPhoneNumber = aPhoneNumber; |
52 } |
52 } |
53 |
53 |
54 // --------------------------------------------------------- |
54 // --------------------------------------------------------- |
55 // TPhoneCmdParamSpeedDial::PhoneNumber |
55 // TPhoneCmdParamSpeedDial::PhoneNumber |
56 // Returns the phone number. |
56 // Returns the phone number. |
57 // (other items were commented in a header). |
57 // (other items were commented in a header). |
58 // --------------------------------------------------------- |
58 // --------------------------------------------------------- |
59 // |
59 // |
60 EXPORT_C TPtr* TPhoneCmdParamSpeedDial::PhoneNumber() |
60 EXPORT_C TPtr* TPhoneCmdParamSpeedDial::PhoneNumber() |
61 { |
61 { |
62 __ASSERT_DEBUG( iPhoneNumber, |
62 __ASSERT_DEBUG( iPhoneNumber, |
63 Panic( EPhoneUtilsInvariant ) ); |
63 Panic( EPhoneUtilsInvariant ) ); |
64 return iPhoneNumber; |
64 return iPhoneNumber; |
65 } |
65 } |
66 |
66 |
67 // --------------------------------------------------------- |
67 // --------------------------------------------------------- |
68 // TPhoneCmdParamSpeedDial::SetNumberType |
68 // TPhoneCmdParamSpeedDial::SetNumberType |
69 // Sets the phone number's type. |
69 // Sets the phone number's type. |
70 // (other items were commented in a header). |
70 // (other items were commented in a header). |
91 // Sets the speed dial location. |
91 // Sets the speed dial location. |
92 // (other items were commented in a header). |
92 // (other items were commented in a header). |
93 // --------------------------------------------------------- |
93 // --------------------------------------------------------- |
94 // |
94 // |
95 EXPORT_C void TPhoneCmdParamSpeedDial::SetLocation( TInt aLocation ) |
95 EXPORT_C void TPhoneCmdParamSpeedDial::SetLocation( TInt aLocation ) |
96 { |
96 { |
97 __ASSERT_DEBUG( aLocation >= 0, |
97 __ASSERT_DEBUG( aLocation >= 0, |
98 Panic( EPhoneUtilsParameterNotInitialized ) ); |
98 Panic( EPhoneUtilsParameterNotInitialized ) ); |
99 iLocation = aLocation; |
99 iLocation = aLocation; |
100 } |
100 } |
101 |
101 |
102 // --------------------------------------------------------- |
102 // --------------------------------------------------------- |
103 // TPhoneCmdParamSpeedDial::Location |
103 // TPhoneCmdParamSpeedDial::Location |
104 // Returns the speed dial location. |
104 // Returns the speed dial location. |
105 // (other items were commented in a header). |
105 // (other items were commented in a header). |
106 // --------------------------------------------------------- |
106 // --------------------------------------------------------- |
107 // |
107 // |
108 EXPORT_C TInt TPhoneCmdParamSpeedDial::Location() |
108 EXPORT_C TInt TPhoneCmdParamSpeedDial::Location() |
109 { |
109 { |
110 __ASSERT_DEBUG( iLocation >= 0, |
110 __ASSERT_DEBUG( iLocation >= 0, |
111 Panic( EPhoneUtilsInvariant ) ); |
111 Panic( EPhoneUtilsInvariant ) ); |
112 return iLocation; |
112 return iLocation; |
113 } |
113 } |
114 |
114 |
115 // --------------------------------------------------------- |
115 // --------------------------------------------------------- |
116 // TPhoneCmdParamSpeedDial::SetServiceId |
116 // TPhoneCmdParamSpeedDial::SetServiceId |
117 // Sets the serviceId |
117 // Sets the serviceId |
118 // --------------------------------------------------------- |
118 // --------------------------------------------------------- |