equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-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: |
|
15 * Struct for initialisation parameters for plugins. The derived |
|
16 * (concrete) plugin will receive an instance of this in its NewL. It should pass |
|
17 * it to the CBTAccPlugin base class constructor. |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef BTACC_PARAMS_H |
|
23 #define BTACC_PARAMS_H |
|
24 |
|
25 // FORWARD DECLARATION |
|
26 class MBTAccObserver; |
|
27 |
|
28 |
|
29 class TPluginParams |
|
30 { |
|
31 public: |
|
32 /** |
|
33 Constructor. |
|
34 @param aImplementationUid The implementation UID of the plugin. |
|
35 @param aObserver Observer. |
|
36 */ |
|
37 TPluginParams(const TUid aImplementationUid, MBTAccObserver& aObserver); |
|
38 |
|
39 /** Destructor. */ |
|
40 ~TPluginParams(); |
|
41 |
|
42 public: |
|
43 /** |
|
44 Accessor for the implementation UID. |
|
45 @return Implementation UID. |
|
46 */ |
|
47 TUid ImplementationUid() const; |
|
48 |
|
49 /** |
|
50 Accessor for the observer. |
|
51 @return Observer. |
|
52 */ |
|
53 MBTAccObserver& Observer() const; |
|
54 |
|
55 private: |
|
56 const TUid iImplementationUid; |
|
57 MBTAccObserver& iObserver; |
|
58 }; |
|
59 |
|
60 #include "btaccParams.inl" |
|
61 |
|
62 #endif // BEARERPARAMS_H |