|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #if !defined(__C32STARTCLI_H__) |
|
17 #define __C32STARTCLI_H__ |
|
18 |
|
19 /** |
|
20 @file |
|
21 |
|
22 @internalTechnology |
|
23 |
|
24 */ |
|
25 |
|
26 #include <e32std.h> |
|
27 #include <rsshared.h> |
|
28 #include <cfshared.h> |
|
29 #include "c32startshared.h" |
|
30 |
|
31 using namespace RootServer; // Allowing the usage of definitions from the RS |
|
32 using namespace CommsFW; // Allowing the usage of definitions from the Comms Framework |
|
33 |
|
34 class RRsConfigurator : public RSessionBase |
|
35 /** The client interface to the Configurator server. Allows e.g. the Comms Provider Modules |
|
36 to Load the Comms Process with desired modules and bindings on demand. |
|
37 @internalTechnology |
|
38 */ |
|
39 { |
|
40 public: |
|
41 IMPORT_C RRsConfigurator(); |
|
42 IMPORT_C TInt Connect(); |
|
43 IMPORT_C void LoadCpm(const CommsFW::TCFModuleName& aName,TRequestStatus& aStatus); |
|
44 IMPORT_C void UnloadCpm(const CommsFW::TCFModuleName& aName,RootServer::TRSUnLoadType aType,TRequestStatus& aStatus); |
|
45 IMPORT_C TInt EnumerateModules(const TCFGroupName& aGroupName, RootServer::TRSIter &aPosition, CommsFW::TCFModuleName& aModuleName); |
|
46 IMPORT_C TInt GetModuleIniData(const CommsFW::TCFModuleName& aModuleName,TDes8& aIniData, TInt& aRequiredIniDataSize); |
|
47 IMPORT_C void CancelLoadCpm(const CommsFW::TCFModuleName& aName); |
|
48 IMPORT_C void CancelUnloadCpm(const CommsFW::TCFModuleName& aName); |
|
49 }; |
|
50 |
|
51 |
|
52 #endif |
|
53 |