mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
This commit is contained in:
parent
de070bf485
commit
a90b5cf37a
1998 changed files with 1034301 additions and 0 deletions
53
wxWidgets/include/wx/msw/stdpaths.h
Normal file
53
wxWidgets/include/wx/msw/stdpaths.h
Normal file
|
@ -0,0 +1,53 @@
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/msw/stdpaths.h
|
||||
// Purpose: wxStandardPaths for Win32
|
||||
// Author: Vadim Zeitlin
|
||||
// Modified by:
|
||||
// Created: 2004-10-19
|
||||
// RCS-ID: $Id: stdpaths.h 43340 2006-11-12 12:58:10Z RR $
|
||||
// Copyright: (c) 2004 Vadim Zeitlin <vadim@wxwindows.org>
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_MSW_STDPATHS_H_
|
||||
#define _WX_MSW_STDPATHS_H_
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxStandardPaths
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLIMPEXP_BASE wxStandardPaths : public wxStandardPathsBase
|
||||
{
|
||||
public:
|
||||
// implement base class pure virtuals
|
||||
virtual wxString GetExecutablePath() const;
|
||||
virtual wxString GetConfigDir() const;
|
||||
virtual wxString GetUserConfigDir() const;
|
||||
virtual wxString GetDataDir() const;
|
||||
virtual wxString GetUserDataDir() const;
|
||||
virtual wxString GetUserLocalDataDir() const;
|
||||
virtual wxString GetPluginsDir() const;
|
||||
virtual wxString GetDocumentsDir() const;
|
||||
|
||||
protected:
|
||||
// get the path corresponding to the given standard CSIDL_XXX constant
|
||||
static wxString DoGetDirectory(int csidl);
|
||||
|
||||
// return the directory of the application itself
|
||||
static wxString GetAppDir();
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxStandardPathsWin16: this class is for internal use only
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// override config file locations to be compatible with the values used by
|
||||
// wxFileConfig (dating from Win16 days which explains the class name)
|
||||
class WXDLLIMPEXP_BASE wxStandardPathsWin16 : public wxStandardPaths
|
||||
{
|
||||
public:
|
||||
virtual wxString GetConfigDir() const;
|
||||
virtual wxString GetUserConfigDir() const;
|
||||
};
|
||||
|
||||
#endif // _WX_MSW_STDPATHS_H_
|
Loading…
Add table
Add a link
Reference in a new issue