|
1 /* |
|
2 * Copyright (c) 2006-2007 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 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef CNATFWUNSAFCONNECTSTATUSINDICATION_H |
|
22 #define CNATFWUNSAFCONNECTSTATUSINDICATION_H |
|
23 |
|
24 #include <e32base.h> |
|
25 #include "natfwunsafmessage.h" |
|
26 |
|
27 /** |
|
28 * UNSAF Connect Status Indication |
|
29 * !!!! The implementation is still unclear as no spec available !!!! |
|
30 * |
|
31 * @lib natfwunsafprotocols.lib |
|
32 * @since S60 3.2 |
|
33 */ |
|
34 class CNATFWUNSAFConnectStatusIndication : public CNATFWUNSAFMessage |
|
35 { |
|
36 public: // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * Creates a CNATFWUNSAFConnectStatusIndication instance |
|
40 * @param aTransactionID NATFWUNSAF transaction ID |
|
41 * @return A new instance of CNATFWUNSAFConnectStatusIndication |
|
42 */ |
|
43 static CNATFWUNSAFConnectStatusIndication* |
|
44 NewL(const TNATFWUNSAFTransactionID& aTransactionID); |
|
45 |
|
46 /** |
|
47 * Creates a CNATFWUNSAFConnectStatusIndication instance and pushes |
|
48 * it to CleanupStack |
|
49 * @param aTransactionID NATFWUNSAF transaction ID |
|
50 * @return A new instance of CNATFWUNSAFConnectStatusIndication |
|
51 */ |
|
52 static CNATFWUNSAFConnectStatusIndication* |
|
53 NewLC(const TNATFWUNSAFTransactionID& aTransactionID); |
|
54 |
|
55 /** |
|
56 * Creates a CNATFWUNSAFConnectStatusIndication instance. Used from |
|
57 * lookup table. |
|
58 * @param aTransactionID NATFWUNSAF transaction ID |
|
59 * @return A new instance of CNATFWUNSAFMessage, |
|
60 * ownership is transferred. |
|
61 */ |
|
62 static CNATFWUNSAFMessage* |
|
63 CreateL(const TNATFWUNSAFTransactionID& aTransactionID); |
|
64 |
|
65 /** |
|
66 * Destructor, deletes the resources of |
|
67 * CNATFWUNSAFConnectStatusIndication. |
|
68 */ |
|
69 ~CNATFWUNSAFConnectStatusIndication(); |
|
70 |
|
71 public: // From CNATFWUNSAFMessage |
|
72 |
|
73 TType Type() const; |
|
74 |
|
75 TBool Validate() const; |
|
76 |
|
77 TBool IsAllowed(TUint16 aAttributeType) const; |
|
78 |
|
79 private: // Constructors |
|
80 |
|
81 CNATFWUNSAFConnectStatusIndication( |
|
82 const TNATFWUNSAFTransactionID& aTransactionID); |
|
83 }; |
|
84 |
|
85 #endif // CNATFWUNSAFCONNECTSTATUSINDICATION_H |
|
86 |
|
87 |