equal
deleted
inserted
replaced
|
1 /* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
2 * All rights reserved. |
|
3 * This component and the accompanying materials are made available |
|
4 * under the terms of "Eclipse Public License v1.0" |
|
5 * which accompanies this distribution, and is available |
|
6 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 * Initial Contributors: |
|
8 * Nokia Corporation - initial contribution. |
|
9 * |
|
10 * Contributors: |
|
11 * Description : |
|
12 * |
|
13 */ |
|
14 |
|
15 #ifndef USSDSENDMESSAGEIMPL_H |
|
16 #define USSDSENDMESSAGEIMPL_H |
|
17 |
|
18 #include <etelmm.h> |
|
19 |
|
20 class MUSSDCallback; |
|
21 |
|
22 /** |
|
23 * Class for sending USSD data |
|
24 */ |
|
25 NONSHARABLE_CLASS( CUSSDSendMessageImpl ) : public CActive |
|
26 { |
|
27 public: |
|
28 static CUSSDSendMessageImpl* NewL(MUSSDCallback* aCallback, RMobileUssdMessaging& aUssdSession); |
|
29 ~CUSSDSendMessageImpl(); |
|
30 |
|
31 TInt SendUSSDCmd(const TDesC8& aCmd, |
|
32 RMobileUssdMessaging::TMobileUssdAttributesV1& aUSDAttribute); |
|
33 |
|
34 private: // methods from CActive |
|
35 virtual void RunL(); |
|
36 virtual void DoCancel(); |
|
37 // RunError not needed as RunL does not leave |
|
38 |
|
39 private: |
|
40 CUSSDSendMessageImpl(MUSSDCallback* aCallback, |
|
41 RMobileUssdMessaging& aUSSDMessagingSession); |
|
42 |
|
43 private: |
|
44 MUSSDCallback* iCallback; |
|
45 RMobileUssdMessaging& iUssdSession; |
|
46 }; |
|
47 |
|
48 #endif /* USSDSENDMESSAGEIMPL_H */ |