|
1 // Copyright (c) 2002-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 // $Header$ |
|
15 // GT0149 Applications Protocol Integration Test Harness |
|
16 // blank application |
|
17 // |
|
18 // |
|
19 |
|
20 #ifndef __INFILE_H__ |
|
21 #define __INFILE_H__ |
|
22 |
|
23 //---------------------------------------------------------------------------- |
|
24 // Include Files |
|
25 |
|
26 #include <e32base.h> |
|
27 #include <e32std.h> |
|
28 #include <s32file.h> |
|
29 #include <f32file.h> |
|
30 #include <e32hal.h> |
|
31 #include <fbs.h> |
|
32 |
|
33 //----------------------------------------------------------------------------- |
|
34 // InFile, static file input functions. |
|
35 //----------------------------------------------------------------------------- |
|
36 |
|
37 class InFile |
|
38 { |
|
39 |
|
40 public: // Data types |
|
41 protected: // Data types |
|
42 private: // Data types |
|
43 public: // Constructors and destructors |
|
44 private: // Constructors and destructors |
|
45 protected: // Constructors and destructors |
|
46 public: // New functions |
|
47 |
|
48 // Get a file. Leaves in case of a fail. |
|
49 static HBufC8* GetL( const TDesC& aFile ); |
|
50 static HBufC8* GetL( const TDesC& aPath, const TDesC& aFile ); |
|
51 |
|
52 public: // From ?class_name |
|
53 protected: // Data types |
|
54 protected: // New functions |
|
55 protected: // From ?class_name |
|
56 private: // Data types |
|
57 private: // New functions |
|
58 private: // From ?class_name |
|
59 public: // Data |
|
60 protected: // Data |
|
61 private: // Data |
|
62 |
|
63 // Friend classes |
|
64 |
|
65 }; |
|
66 |
|
67 //----------------------------------------------------------------------------- |
|
68 |
|
69 #endif // __INFILE_H__ |
|
70 |
|
71 //----------------------------------------------------------------------------- |
|
72 // End of File |
|
73 //----------------------------------------------------------------------------- |