41 // |
39 // |
42 CPEGprsTermination::~CPEGprsTermination() |
40 CPEGprsTermination::~CPEGprsTermination() |
43 { |
41 { |
44 TEFLOGSTRING( KTAOBJECT, "cpecall: CPEGprsTermination::~CPEGprsTermination" ); |
42 TEFLOGSTRING( KTAOBJECT, "cpecall: CPEGprsTermination::~CPEGprsTermination" ); |
45 Cancel(); |
43 Cancel(); |
46 //delete iInterface; |
|
47 } |
44 } |
48 |
45 |
49 // ----------------------------------------------------------------------------- |
46 // ----------------------------------------------------------------------------- |
50 // CPEGprsTermination::StartL |
47 // CPEGprsTermination::StartL |
51 // ----------------------------------------------------------------------------- |
48 // ----------------------------------------------------------------------------- |
52 // |
49 // |
53 void CPEGprsTermination::StartL() |
50 void CPEGprsTermination::StartL() |
54 { |
51 { |
55 TEFLOGSTRING( KTAINT, "cpecall: CPEGprsTermination::StartL" ); |
52 TEFLOGSTRING( KTAINT, "cpecall: CPEGprsTermination::StartL" ); |
56 |
|
57 /*Cancel(); |
|
58 delete iInterface; |
|
59 iInterface = NULL; |
|
60 |
|
61 iInterface = CCoUtlInterface::NewL(); |
|
62 TEFLOGSTRING( KTAREQOUT, "cpecall: CPEGprsTermination::StartL CCoUtlInterface::Terminate()" ); |
|
63 iInterface->Terminate( iStatus ); |
|
64 SetActive();*/ |
|
65 } |
53 } |
66 |
54 |
67 // ----------------------------------------------------------------------------- |
55 // ----------------------------------------------------------------------------- |
68 // CPEGprsTermination::IsTerminating |
56 // CPEGprsTermination::IsTerminating |
69 // ----------------------------------------------------------------------------- |
57 // ----------------------------------------------------------------------------- |
70 // |
58 // |
71 TBool CPEGprsTermination::IsTerminating() const |
59 TBool CPEGprsTermination::IsTerminating() const |
72 { |
60 { |
73 TEFLOGSTRING( KTAINT, "cpecall: CPEGprsTermination::IsTerminating" ); |
61 TEFLOGSTRING( KTAINT, "cpecall: CPEGprsTermination::IsTerminating" ); |
74 /*if ( !iInterface ) |
|
75 { |
|
76 return EFalse; |
|
77 } |
|
78 else |
|
79 { |
|
80 CCoUtlInterface::TState current = |
|
81 iInterface->CurrentState(); |
|
82 |
|
83 return |
|
84 ( current != CCoUtlInterface::EIdle ) && |
|
85 ( current != CCoUtlInterface::EConfirm ); |
|
86 }*/ |
|
87 |
|
88 return EFalse; |
62 return EFalse; |
89 } |
63 } |
90 |
64 |
91 // ----------------------------------------------------------------------------- |
65 // ----------------------------------------------------------------------------- |
92 // CPEGprsTermination::RunL |
66 // CPEGprsTermination::RunL |
93 // ----------------------------------------------------------------------------- |
67 // ----------------------------------------------------------------------------- |
94 // |
68 // |
95 void CPEGprsTermination::RunL() |
69 void CPEGprsTermination::RunL() |
96 { |
70 { |
97 TEFLOGSTRING2( KTAREQEND, "cpecall: CPEGprsTermination::RunL status: %d", iStatus.Int() ); |
71 TEFLOGSTRING2( KTAREQEND, "cpecall: CPEGprsTermination::RunL status: %d", iStatus.Int() ); |
98 /*delete iInterface; |
|
99 iInterface = NULL;*/ |
|
100 } |
72 } |
101 |
73 |
102 // ----------------------------------------------------------------------------- |
74 // ----------------------------------------------------------------------------- |
103 // CPEGprsTermination::DoCancel |
75 // CPEGprsTermination::DoCancel |
104 // ----------------------------------------------------------------------------- |
76 // ----------------------------------------------------------------------------- |
105 // |
77 // |
106 void CPEGprsTermination::DoCancel() |
78 void CPEGprsTermination::DoCancel() |
107 { |
79 { |
108 TEFLOGSTRING( KTAREQEND, "cpecall: CPEGprsTermination::DoCancel" ); |
80 TEFLOGSTRING( KTAREQEND, "cpecall: CPEGprsTermination::DoCancel" ); |
109 /*if( iInterface ) |
|
110 { |
|
111 iInterface->Cancel(); |
|
112 }*/ |
|
113 } |
81 } |
114 |
82 |
115 // <-- QT PHONE END --> |
|
116 |
|
117 // End of File |
83 // End of File |