mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-13 01:29:11 +01:00
d14efe561b
long become wxWidgets 2.9.2, which in turn is expected to be the last 2.9 release before the 3.0 stable release. Since the full wxWidgets distribution is rather large, I have imported only the parts that we use, on a subdirectory basis: art include/wx/*.* include/wx/aui include/wx/cocoa include/wx/generic include/wx/gtk include/wx/meta include/wx/msw include/wx/osx include/wx/persist include/wx/private include/wx/protocol include/wx/unix src/aui src/common src/generic src/gtk src/msw src/osx src/unix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7380 8ced0084-cf51-0410-be5f-012b33b47a6e
57 lines
1.9 KiB
C
57 lines
1.9 KiB
C
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: wx/private/filename.h
|
|
// Purpose: Internal declarations for src/common/filename.cpp
|
|
// Author: Mike Wetherell
|
|
// Modified by:
|
|
// Created: 2006-10-22
|
|
// RCS-ID: $Id: filename.h 64943 2010-07-13 13:29:58Z VZ $
|
|
// Copyright: (c) 2006 Mike Wetherell
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _WX_PRIVATE_FILENAME_H_
|
|
#define _WX_PRIVATE_FILENAME_H_
|
|
|
|
#include "wx/file.h"
|
|
#include "wx/ffile.h"
|
|
|
|
// Self deleting temp files aren't supported on all platforms. Therefore
|
|
// rather than let these be in the API, they can be used internally to
|
|
// implement classes (e.g. wxTempFileStream), that will do the clean up when
|
|
// the OS doesn't support it.
|
|
|
|
// Same usage as wxFileName::CreateTempFileName() with the extra parameter
|
|
// deleteOnClose. *deleteOnClose true on entry requests a file created with a
|
|
// delete on close flag, on exit the value of *deleteOnClose indicates whether
|
|
// available.
|
|
|
|
#if wxUSE_FILE
|
|
wxString wxCreateTempFileName(const wxString& prefix,
|
|
wxFile *fileTemp,
|
|
bool *deleteOnClose = NULL);
|
|
#endif
|
|
|
|
#if wxUSE_FFILE
|
|
wxString wxCreateTempFileName(const wxString& prefix,
|
|
wxFFile *fileTemp,
|
|
bool *deleteOnClose = NULL);
|
|
#endif
|
|
|
|
// Returns an open temp file, if possible either an unlinked open file or one
|
|
// that will delete on close. Only returns the filename if neither was
|
|
// possible, so that the caller can delete the file when done.
|
|
|
|
#if wxUSE_FILE
|
|
bool wxCreateTempFile(const wxString& prefix,
|
|
wxFile *fileTemp,
|
|
wxString *name);
|
|
#endif
|
|
|
|
#if wxUSE_FFILE
|
|
bool wxCreateTempFile(const wxString& prefix,
|
|
wxFFile *fileTemp,
|
|
wxString *name);
|
|
#endif
|
|
|
|
#endif // _WX_PRIVATE_FILENAME_H_
|