|
1 /* |
|
2 * Copyright (c) 2002-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 #ifndef T_SCPCONNECTINSERVICE_H |
|
20 #define T_SCPCONNECTINSERVICE_H |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 #include "scpsubservicestate.h" |
|
25 |
|
26 /** |
|
27 * Connecting Service state |
|
28 * |
|
29 * @lib sipconnectionprovider.dll |
|
30 */ |
|
31 class TScpConnectingService : public TScpSubServiceState |
|
32 { |
|
33 public: |
|
34 |
|
35 /** |
|
36 * C++ default constructor. |
|
37 */ |
|
38 TScpConnectingService(); |
|
39 |
|
40 /** |
|
41 * Returns state |
|
42 * @return State |
|
43 */ |
|
44 TCCHSubserviceState State() const; |
|
45 |
|
46 /** |
|
47 * Enable |
|
48 * @param aSubService Sub service |
|
49 */ |
|
50 void EnableL( CScpSubService& aSubService ) const; |
|
51 |
|
52 /** |
|
53 * Disable |
|
54 * @param aSubService Sub service |
|
55 */ |
|
56 TInt Disable( CScpSubService& aSubService ) const; |
|
57 |
|
58 /** |
|
59 * Network lost |
|
60 * @param aSubService Sub service |
|
61 */ |
|
62 void NetworkLost( CScpSubService& aSubService ) const; |
|
63 |
|
64 /** |
|
65 * Network not found |
|
66 * @param aSubService Sub service |
|
67 */ |
|
68 void NetworkNotFound( CScpSubService& aSubService ) const; |
|
69 |
|
70 /** |
|
71 * Service connection failed |
|
72 * @param aSubService Sub service |
|
73 */ |
|
74 void ServiceConnectionFailed( CScpSubService& aSubService ) const; |
|
75 |
|
76 /** |
|
77 * Service connected |
|
78 * @param aSubService Sub service |
|
79 */ |
|
80 void ServiceConnected( CScpSubService& aSubService ) const; |
|
81 |
|
82 /** |
|
83 * Service disconnected |
|
84 * @param aSubService Sub service |
|
85 */ |
|
86 void ServiceDisconnected( CScpSubService& aSubService ) const; |
|
87 |
|
88 /** |
|
89 * Bandwidth limited |
|
90 * @param aSubService Sub service |
|
91 */ |
|
92 void BandwidthLimited( CScpSubService& aSubService ) const; |
|
93 |
|
94 /** |
|
95 * Bandwidth limited |
|
96 * @param aSubService Sub service |
|
97 */ |
|
98 void AuthenticationFailed( CScpSubService& aSubService ) const; |
|
99 |
|
100 /** |
|
101 * Service connection failed |
|
102 * @param aSubService Sub service |
|
103 */ |
|
104 void ServiceInvalidSettings( CScpSubService& aSubService ) const; |
|
105 |
|
106 /** |
|
107 * Service connection canceled |
|
108 * @param aSubService Sub service |
|
109 */ |
|
110 void ServiceConnectionCanceled( CScpSubService& aSubService ) const; |
|
111 |
|
112 /** |
|
113 * Bearer is not supported |
|
114 * @param aSubService Sub service |
|
115 */ |
|
116 void BearerNotSupported( CScpSubService& aSubService ) const; |
|
117 }; |
|
118 |
|
119 #endif // T_SCPCONNECTINSERVICE_H |
|
120 |
|
121 // End of File |