diff options
Diffstat (limited to '')
-rw-r--r-- | src/file.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -12,7 +12,7 @@ | |||
12 | #include <sys/types.h> | 12 | #include <sys/types.h> |
13 | 13 | ||
14 | #include "bu/stream.h" | 14 | #include "bu/stream.h" |
15 | #include "bu/fstring.h" | 15 | #include "bu/string.h" |
16 | #include "bu/exceptionbase.h" | 16 | #include "bu/exceptionbase.h" |
17 | 17 | ||
18 | namespace Bu | 18 | namespace Bu |
@@ -26,7 +26,7 @@ namespace Bu | |||
26 | class File : public Bu::Stream | 26 | class File : public Bu::Stream |
27 | { | 27 | { |
28 | public: | 28 | public: |
29 | File( const Bu::FString &sName, int iFlags ); | 29 | File( const Bu::String &sName, int iFlags ); |
30 | File( int fd ); | 30 | File( int fd ); |
31 | virtual ~File(); | 31 | virtual ~File(); |
32 | 32 | ||
@@ -75,12 +75,12 @@ namespace Bu | |||
75 | /** | 75 | /** |
76 | * Create a temp file and return its handle. The file is opened | 76 | * Create a temp file and return its handle. The file is opened |
77 | * Read/Write. | 77 | * Read/Write. |
78 | *@param sName (Bu::FString) Give in the form: "/tmp/tmpfileXXXXXXXX" | 78 | *@param sName (Bu::String) Give in the form: "/tmp/tmpfileXXXXXXXX" |
79 | * It will alter your (sName) setting the 'X's to random | 79 | * It will alter your (sName) setting the 'X's to random |
80 | * characters. | 80 | * characters. |
81 | *@returns (Bu::File) A file object representing your temp file. | 81 | *@returns (Bu::File) A file object representing your temp file. |
82 | */ | 82 | */ |
83 | static Bu::File tempFile( Bu::FString &sName ); | 83 | static Bu::File tempFile( Bu::String &sName ); |
84 | 84 | ||
85 | #ifndef WIN32 | 85 | #ifndef WIN32 |
86 | /** | 86 | /** |