// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
-#ifndef __FILEFNH__
-#define __FILEFNH__
+#ifndef _FILEFN_H_
+#define _FILEFN_H_
#ifdef __GNUG__
#pragma interface "filefn.h"
#endif
+#include <wx/list.h>
+
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------
#define off_t _off_t
#endif
+const off_t wxInvalidOffset = (off_t)-1;
+
typedef enum {
wxFromStart,
wxFromCurrent,
// Strip the extension, in situ
void WXDLLEXPORT wxStripExtension(char *buffer);
+void WXDLLEXPORT wxStripExtension(wxString& buffer);
// Get a temporary filename, opening and closing the file.
char* WXDLLEXPORT wxGetTempFileName(const wxString& prefix, char *buf = NULL);
};
#endif
- // __FILEFNH__
+ // _WX_FILEFN_H_