|
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 : TSIPRegEventSubscriptionStateBase.h |
|
16 * Part of : SIP Profile Agent |
|
17 * Interface : |
|
18 * Version : 1.0 |
|
19 * |
|
20 */ |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 /** |
|
26 @internalComponent |
|
27 */ |
|
28 |
|
29 #ifndef TSIPREGEVENTSUBSCRIPTIONSTATEBASE_H |
|
30 #define TSIPREGEVENTSUBSCRIPTIONSTATEBASE_H |
|
31 |
|
32 // INCLUDES |
|
33 #include <e32std.h> |
|
34 |
|
35 // FORWARD DECLARATIONS |
|
36 class MSIPRegEventContext; |
|
37 class CSIPResponseElements; |
|
38 |
|
39 |
|
40 // CLASS DECLARATION |
|
41 class TSIPRegEventSubscriptionStateBase |
|
42 { |
|
43 protected: // Constructors and destructor |
|
44 |
|
45 TSIPRegEventSubscriptionStateBase(MSIPRegEventContext& aContext); |
|
46 virtual ~TSIPRegEventSubscriptionStateBase(); |
|
47 |
|
48 public: // New methods |
|
49 |
|
50 virtual void SubscribeL(); |
|
51 |
|
52 virtual void RefreshL(); |
|
53 |
|
54 virtual void ResponseReceivedL(TUint aStatusCode, TUint aRetryAfter); |
|
55 |
|
56 virtual void ErrorOccuredL(); |
|
57 |
|
58 private: // Constructors |
|
59 |
|
60 /// Default constructor. Not implemented. |
|
61 TSIPRegEventSubscriptionStateBase(); |
|
62 |
|
63 protected: // Data |
|
64 |
|
65 MSIPRegEventContext& iContext; |
|
66 }; |
|
67 |
|
68 #endif // TSIPREGEVENTSUBSCRIPTIONSTATEBASE_H |