|
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 (__SYSTEMSTARTUPDLLINFO_H__) |
|
17 #define __SYSTEMSTARTUPDLLINFO_H__ |
|
18 |
|
19 #include <e32base.h> |
|
20 |
|
21 /** |
|
22 This class holds all the information specific to a particular DLL. |
|
23 The information is extracted from the static start-up configuration |
|
24 file (SSC). Information stored includes the DLL name and the ordinal |
|
25 number of the function to be called. |
|
26 |
|
27 @internalComponent |
|
28 @deprecated |
|
29 */ |
|
30 class CSystemStartupDllInfo: public CBase |
|
31 { |
|
32 public: |
|
33 static CSystemStartupDllInfo* NewL( ); |
|
34 static CSystemStartupDllInfo* NewLC( ); |
|
35 ~CSystemStartupDllInfo(); |
|
36 |
|
37 // Set Functions |
|
38 void SetDllNameL(const TDesC& aDllName); |
|
39 void SetOrdinal(TUint8 aOrdinal); |
|
40 void SetFailOnError(TBool aFailOnError); |
|
41 void SetNoOfRetries(TUint8 aNoOfRetries); |
|
42 void SetDllBuffer(HBufC8* aDllBuffer); |
|
43 |
|
44 // Get Functions |
|
45 TPtrC DllName() const; |
|
46 TUint8 Ordinal() const; |
|
47 TBool FailOnError() const; |
|
48 TUint8 NoOfRetries() const; |
|
49 const TDesC8& DllBuffer() const; |
|
50 |
|
51 private: |
|
52 CSystemStartupDllInfo(); |
|
53 void Construct( ); |
|
54 |
|
55 private: |
|
56 HBufC* iDllName; |
|
57 TUint8 iOrdinal; |
|
58 TBool iFailOnError; |
|
59 TUint8 iNoOfRetries; |
|
60 HBufC8* iDllBuffer; |
|
61 }; |
|
62 |
|
63 #endif // __SYSTEMSTARTUPDLLINFO_H__ |