|
1 /* |
|
2 * Copyright (c) 2006 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: Description |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __MIMPSPRTPLUGINCONNNECTIONMANAGER_H__ |
|
19 #define __MIMPSPRTPLUGINCONNNECTIONMANAGER_H__ |
|
20 |
|
21 |
|
22 #include "PImpsAdapWVCspVersion.h" |
|
23 #include "CPresenceNotificationHandler.h" |
|
24 // FORWARD DECLARATIONS |
|
25 class MXIMPProtocolConnectionHost; |
|
26 class CImpsPluginAccessHandler; |
|
27 class CImpsPluginPureDataHandler; |
|
28 class CPEngXMLParser; |
|
29 class CPEngXmlSerializer; |
|
30 |
|
31 /** |
|
32 * MImpsPrtPluginConnectionManager |
|
33 * |
|
34 * Imps Protocol Plugin Connection Manager's Interface |
|
35 * |
|
36 * @lib ?library |
|
37 * @since S60 v4.0 |
|
38 */ |
|
39 class MImpsPrtPluginConnectionManager |
|
40 { |
|
41 |
|
42 public: |
|
43 |
|
44 /** |
|
45 * ?description |
|
46 * |
|
47 * @since S60 ?S60_version |
|
48 * @param ?arg1 ?description |
|
49 * @param ?arg2 ?description |
|
50 * @return ?description |
|
51 */ |
|
52 |
|
53 virtual TInt32 IapId() = 0; |
|
54 |
|
55 virtual TDesC& ServerAddress() = 0; |
|
56 |
|
57 virtual TDesC& UserName() = 0; |
|
58 |
|
59 virtual TDesC& Password() = 0; |
|
60 |
|
61 virtual MXIMPProtocolConnectionHost& HandleToHost() = 0; |
|
62 |
|
63 virtual CImpsPluginAccessHandler& AccessHandler() = 0; |
|
64 |
|
65 virtual void ReserveSpaceForOneMoreRequestL() = 0; |
|
66 |
|
67 virtual void AddRequest( CActive* aRequestObject ) = 0; |
|
68 |
|
69 virtual void Remove( CActive* aRequestObject ) = 0; |
|
70 |
|
71 virtual CImpsPluginPureDataHandler& DataHandler() = 0; |
|
72 |
|
73 virtual void ManufactureDataHandlerL() = 0; |
|
74 |
|
75 virtual TBool IsDataHandlerCreatedL() = 0; |
|
76 |
|
77 virtual TImpsAdapWVCspVersion GetVersion() = 0; |
|
78 |
|
79 virtual void SetVersion( TImpsAdapWVCspVersion aVersion ) = 0; |
|
80 |
|
81 virtual RArray<HBufC>* PresenceAuthGrantReqList() = 0; |
|
82 |
|
83 virtual CPresenceNotificationHandler* PresNotifier() = 0; |
|
84 |
|
85 protected: |
|
86 |
|
87 /** |
|
88 * Protected destructor. |
|
89 * Instancies can't be destroyed via this interface. |
|
90 */ |
|
91 virtual ~MImpsPrtPluginConnectionManager() {} |
|
92 |
|
93 }; |
|
94 |
|
95 |
|
96 #endif // __MIMPSPRTPLUGINCONNNECTIONMANAGER_H__ |
|
97 |
|
98 |