author | Oscar Gonzalez <oscar.1.gonzalez@nokia.com> |
Wed, 02 Jun 2010 16:33:50 +0100 | |
branch | opencode |
changeset 32 | 58332560b319 |
parent 24 | 6638e7f4bd8f |
permissions | -rw-r--r-- |
24 | 1 |
/* |
2 |
* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 |
* All rights reserved. |
|
4 |
* This component and the accompanying materials are made available |
|
5 |
* under the terms of "Eclipse Public License v1.0" |
|
6 |
* which accompanies this distribution, and is available |
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 |
* |
|
9 |
* Initial Contributors: |
|
10 |
* Nokia Corporation - initial contribution. |
|
11 |
* |
|
12 |
* Contributors: |
|
13 |
* |
|
14 |
* Description: |
|
15 |
* Name : CSatNotifyPollingOff.h |
|
16 |
* Part of : Common SIM ATK TSY / commonsimatktsy |
|
17 |
* Specific notifications class |
|
18 |
* Version : 1.0 |
|
19 |
* |
|
20 |
*/ |
|
21 |
||
22 |
||
23 |
||
24 |
#ifndef CSATNOTIFYPOLLINGOFF_H |
|
25 |
#define CSATNOTIFYPOLLINGOFF_H |
|
26 |
||
27 |
||
28 |
// INCLUDES |
|
29 |
#include <etelsat.h> |
|
30 |
#include "MSatNotificationsBase.h" |
|
31 |
||
32 |
// FORWARD DECLARATIONS |
|
33 |
class CSatDataPackage; |
|
34 |
class CSatNotificationsTsy; |
|
35 |
||
36 |
/** |
|
37 |
* DESCRIPTION |
|
38 |
* SAT Notify polling off notification class. |
|
39 |
* Created when client requests to be notified when Polling off |
|
40 |
* command arrives from SIM. |
|
41 |
* |
|
42 |
* Typically sent after a PollInterval command in order to reset the time |
|
43 |
* interval between two STATUS commnands to the default time interval value |
|
44 |
* Does not require any interaction with the Symbian OS side, and has no impact |
|
45 |
* on the Etel API. |
|
46 |
* @lib Commonsimatktsy |
|
47 |
* @since 3.1 |
|
48 |
*/ |
|
49 |
NONSHARABLE_CLASS ( CSatNotifyPollingOff ) : public CBase, |
|
50 |
public MSatNotificationsBase |
|
51 |
{ |
|
52 |
||
53 |
public: // Constructors and destructor |
|
54 |
||
55 |
/** |
|
56 |
* Two-phased constructor. |
|
57 |
* @param aNotificationsTsy: Pointer to NotificationsTsy |
|
58 |
* return CSatNotifyPollingOff*: created object |
|
59 |
*/ |
|
60 |
static CSatNotifyPollingOff* NewL( |
|
61 |
CSatNotificationsTsy* aNotificationsTsy ); |
|
62 |
||
63 |
/** |
|
64 |
* C++ Destructor. |
|
65 |
*/ |
|
66 |
~CSatNotifyPollingOff(); |
|
67 |
||
68 |
private: |
|
69 |
/** |
|
70 |
* By default C++ constructor is private. |
|
71 |
* @param aNotificationsTsy: Pointer to NotificationsTsy |
|
72 |
* @return None |
|
73 |
*/ |
|
74 |
CSatNotifyPollingOff( CSatNotificationsTsy* aNotificationsTsy ); |
|
75 |
||
76 |
/** |
|
77 |
* Class attributes are created in ConstructL. |
|
78 |
* @param None |
|
79 |
* @return None |
|
80 |
*/ |
|
81 |
void ConstructL(); |
|
82 |
||
83 |
public: // Functions from base classes |
|
84 |
||
85 |
/** |
|
86 |
* Completes PollingOff message to client |
|
87 |
* @param aDataPackage: Packaged return data |
|
88 |
* @param aErrorCode: Possible error code |
|
89 |
* @return KErrNone/ KErrCorrupt |
|
90 |
*/ |
|
91 |
TInt CompleteNotifyL( CSatDataPackage* aDataPackage, TInt aErrorCode ); |
|
92 |
||
93 |
public: // New functions |
|
94 |
||
95 |
/** |
|
96 |
* Create notification specific terminal response data |
|
97 |
* @param aPCmdNumber: Proactive command number |
|
98 |
* @param aGeneralResult: Result of the proactive command |
|
99 |
* @param aAdditionalInfo: Additional info for terminal response |
|
100 |
* @return Success/Failure value |
|
101 |
*/ |
|
102 |
TInt CreateTerminalRespL( TUint8 aPCmdNumber, TUint8 aGeneralResult, |
|
103 |
TDesC16& aAdditionalInfo ); |
|
104 |
||
105 |
||
106 |
private: // Data |
|
107 |
||
108 |
// Pointer to the notifications tsy class |
|
109 |
CSatNotificationsTsy* iNotificationsTsy; |
|
110 |
}; |
|
111 |
||
112 |
||
0
3553901f7fa8
Revision: 201005
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
113 |
#endif // CSATNOTIFYPOLLINGOFF_H |