Added Create functions. They return TRUE if the file was successfully

created; FALSE if it couldn't be created (or already exists - is that
ok?).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Bedward
2000-03-07 10:02:25 +00:00
parent d76bb2182d
commit 1b6dea5de1
2 changed files with 30 additions and 0 deletions

View File

@@ -73,6 +73,10 @@ public:
// file operations
// file exists?
bool Exists() const;
// create the file if it doesn't already exist
bool Create();
// same as Create() but with (another) file name
bool Create(const wxString& strFile);
// Open() also loads file in memory on success
bool Open();
// same as Open() but with (another) file name