1 // Copyright (c) 2009 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 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // @file atsetnotifycell.h |
|
15 // |
|
16 |
|
17 |
|
18 #ifndef __ATSETNOTIFYCELL_H__ |
|
19 #define __ATSETNOTIFYCELL_H__ |
|
20 |
|
21 //system include |
|
22 #include "atcommandbase.h" |
|
23 |
|
24 class CATGetPhoneCellInfo; |
|
25 class CATNotifyCellInfo; |
|
26 /** |
|
27 * class CATSetNotifyCellInfo |
|
28 * |
|
29 * CATSetNotifyCellInfo inherits from the CAtCommandBase class. |
|
30 * This class transmits the AT+CCED=1,1 Command in order to set |
|
31 * Notify Cell infomation |
|
32 */ |
|
33 class CATSetNotifyCellInfo : public CAtCommandBase |
|
34 { |
|
35 public: |
|
36 static CATSetNotifyCellInfo* NewL(CGlobalPhonemanager& aGloblePhone, |
|
37 CCtsyDispatcherCallback& aCtsyDispatcherCallback); |
|
38 /** |
|
39 * Destructor |
|
40 * |
|
41 */ |
|
42 ~CATSetNotifyCellInfo(); |
|
43 |
|
44 /** |
|
45 * Virtual function. Inherited from CAtCommandBase |
|
46 * Start Execute AT Command |
|
47 */ |
|
48 virtual void ExecuteCommand(); |
|
49 /** |
|
50 * Virtual function. Inherited from CAtCommandBase |
|
51 * @param aResponseBuf Line buf reading from baseband |
|
52 */ |
|
53 virtual void ParseResponseL(const TDesC8& aResponseBuf); |
|
54 /** |
|
55 * Will be called by AT Manager whenever a event was triggered |
|
56 * |
|
57 * @param aEventSource |
|
58 * @param aStatus |
|
59 */ |
|
60 virtual void EventSignal(TAtEventSource aEventSource, TInt aStatus); |
|
61 /** |
|
62 * The return error value of AT command executed |
|
63 */ |
|
64 TInt GetErrorValue(); |
|
65 |
|
66 /** |
|
67 * Start the request |
|
68 */ |
|
69 virtual void StartRequest(); |
|
70 |
|
71 protected: |
|
72 /** |
|
73 * Constructor |
|
74 * |
|
75 * @param aGloblePhone |
|
76 * @param aCtsyDispatcherCallback |
|
77 */ |
|
78 CATSetNotifyCellInfo(CGlobalPhonemanager& aGloblePhone, |
|
79 CCtsyDispatcherCallback& aCtsyDispatcherCallback); |
|
80 /** |
|
81 * 2nd Constructor |
|
82 */ |
|
83 void ConstructL(); |
|
84 |
|
85 private: |
|
86 TInt iError; |
|
87 }; |
|
88 #endif //__ATSETNOTIFYCELL_H__ |
|