API Documentation
Loading...
Searching...
No Matches
FileResource Class Reference

Contains methods for getting information about particular OS directories. More...

#include <FileResource.h>

Collaboration diagram for FileResource:
[legend]

Public Types

enum  ProgramFileVars { e_project_dir }
 

Static Public Member Functions

static File ExeFolder ()
 
static File getExePath ()
 
static Buffer< FilegetMTPDevices ()
 
static File getSound (const String &sound)
 
static File OSDocumentsFolder ()
 
static File OSDownloadsFolder ()
 
static File OSProgramDataFolder ()
 
static File OSProgramsFolder ()
 
static File OSTempFolder ()
 
static File OSUserDataFolder ()
 
static File PathToConstResources ()
 
static File PathToProgramDynamicResources ()
 
static File PathToProgramModels ()
 
static File PathToProgramSettings ()
 
static File PathToProgramTranslations (bool user_file)
 
static File PathToUserDynamicResources ()
 
static File PathToUserLibrary ()
 
static File PathToUserSettings ()
 
static File ProgramTempPath ()
 
static void setPathToConstResources (const File &file)
 
static void SetPathToProgramDynamicResources (const File &file)
 
static void SetPathToUserDynamicResources (const File &file)
 
static File SyncSettingsFolder ()
 
static Buffer< FileUSBDrives ()
 

Static Public Attributes

static Dictionary< String, StringFileEnvVariables
 

Static Protected Attributes

static File s_path_to_app_data
 
static File s_path_to_const_resources
 
static File s_path_to_program_dynamic_resources
 
static File s_path_to_temp
 
static File s_path_to_user_dynamic_resources
 

Detailed Description

Contains methods for getting information about particular OS directories.


or static program file directories.

Member Enumeration Documentation

◆ ProgramFileVars

Enumerator
e_project_dir 

Member Function Documentation

◆ ExeFolder()

static File ExeFolder ( )
static

◆ getExePath()

static File getExePath ( )
static

◆ getMTPDevices()

static Buffer< File > getMTPDevices ( )
static

◆ getSound()

static File getSound ( const String & sound)
static

◆ OSDocumentsFolder()

static File OSDocumentsFolder ( )
static

◆ OSDownloadsFolder()

static File OSDownloadsFolder ( )
static

◆ OSProgramDataFolder()

static File OSProgramDataFolder ( )
static

◆ OSProgramsFolder()

static File OSProgramsFolder ( )
static

◆ OSTempFolder()

static File OSTempFolder ( )
static

◆ OSUserDataFolder()

static File OSUserDataFolder ( )
static

◆ PathToConstResources()

static File PathToConstResources ( )
static

◆ PathToProgramDynamicResources()

static File PathToProgramDynamicResources ( )
static

◆ PathToProgramModels()

static File PathToProgramModels ( )
static

◆ PathToProgramSettings()

static File PathToProgramSettings ( )
static

◆ PathToProgramTranslations()

static File PathToProgramTranslations ( bool user_file)
static

◆ PathToUserDynamicResources()

static File PathToUserDynamicResources ( )
static

◆ PathToUserLibrary()

static File PathToUserLibrary ( )
static

◆ PathToUserSettings()

static File PathToUserSettings ( )
static

◆ ProgramTempPath()

static File ProgramTempPath ( )
static

◆ setPathToConstResources()

static void setPathToConstResources ( const File & file)
static

◆ SetPathToProgramDynamicResources()

static void SetPathToProgramDynamicResources ( const File & file)
static

◆ SetPathToUserDynamicResources()

static void SetPathToUserDynamicResources ( const File & file)
static

◆ SyncSettingsFolder()

static File SyncSettingsFolder ( )
static

◆ USBDrives()

static Buffer< File > USBDrives ( )
static

Member Data Documentation

◆ FileEnvVariables

Dictionary<String, String> FileEnvVariables
static

◆ s_path_to_app_data

File s_path_to_app_data
staticprotected

◆ s_path_to_const_resources

File s_path_to_const_resources
staticprotected

◆ s_path_to_program_dynamic_resources

File s_path_to_program_dynamic_resources
staticprotected

◆ s_path_to_temp

File s_path_to_temp
staticprotected

◆ s_path_to_user_dynamic_resources

File s_path_to_user_dynamic_resources
staticprotected

The documentation for this class was generated from the following file: