equal
deleted
inserted
replaced
|
1 // Copyright (c) 2007-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 #ifndef __SUSPLUGINFRAME_H__ |
|
17 #define __SUSPLUGINFRAME_H__ |
|
18 |
|
19 #include <e32base.h> |
|
20 |
|
21 class MSsmUtility; |
|
22 |
|
23 /** |
|
24 Frame to contain MSsmUtility objects. |
|
25 |
|
26 @released |
|
27 @internalComponent |
|
28 */ |
|
29 class CSusPluginFrame : public CBase |
|
30 { |
|
31 public: |
|
32 static CSusPluginFrame* NewL(TLibraryFunction aNewLFunc, TInt32 aNewLOrdinal); |
|
33 ~CSusPluginFrame(); |
|
34 void SetLibrary(RLibrary& aLibrary); // take ownership |
|
35 TFileName FileName() const; |
|
36 TInt NewLOrdinal() const; |
|
37 |
|
38 //MSsmUtility |
|
39 void InitializeL(); |
|
40 void StartL(); |
|
41 void Release(); |
|
42 |
|
43 private: |
|
44 CSusPluginFrame(); |
|
45 void ConstructL(TLibraryFunction aNewLFunc, TInt32 aNewLOrdinal); |
|
46 |
|
47 private: |
|
48 MSsmUtility* iPlugin; |
|
49 RLibrary iLibrary; |
|
50 TInt32 iNewLOrdinal; |
|
51 }; |
|
52 |
|
53 #endif |