Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
resource.cpp File Reference

Inkscape::IO::Resource - simple resource API. More...

Go to the source code of this file.

Namespaces

namespace  Inkscape
 Helper class to stream background task notifications as a series of messages.
 
namespace  Inkscape::IO
 Low-level IO code.
 
namespace  Inkscape::IO::Resource
 

Functions

gchar * Inkscape::IO::Resource::_get_path (Domain domain, Type type, char const *filename, char const *extra=nullptr)
 
Util::ptr_shared Inkscape::IO::Resource::get_path (Domain domain, Type type, char const *filename, char const *extra)
 
std::string Inkscape::IO::Resource::get_path_string (Domain domain, Type type, char const *filename, char const *extra)
 
std::string Inkscape::IO::Resource::get_filename (Type type, char const *filename, bool localized, bool silent)
 
std::string Inkscape::IO::Resource::get_filename (std::string const &path, std::string const &filename)
 
std::vector< std::string > Inkscape::IO::Resource::get_filenames (Type type, std::vector< const char * > const &extensions, std::vector< const char * > const &exclusions)
 
std::vector< std::string > Inkscape::IO::Resource::get_filenames (Domain domain, Type type, std::vector< const char * > const &extensions, std::vector< const char * > const &exclusions)
 
std::vector< std::string > Inkscape::IO::Resource::get_filenames (std::string path, std::vector< const char * > const &extensions, std::vector< const char * > const &exclusions)
 
std::vector< std::string > Inkscape::IO::Resource::get_foldernames (Type type, std::vector< const char * > const &exclusions)
 
std::vector< std::string > Inkscape::IO::Resource::get_foldernames (Domain domain, Type type, std::vector< const char * > const &exclusions)
 
std::vector< std::string > Inkscape::IO::Resource::get_foldernames (std::string const &path, std::vector< const char * > const &exclusions)
 
void Inkscape::IO::Resource::get_filenames_from_path (std::vector< std::string > &files, std::string const &path, std::vector< const char * > const &extensions, std::vector< const char * > const &exclusions)
 
void Inkscape::IO::Resource::get_foldernames_from_path (std::vector< std::string > &folders, std::string const &path, std::vector< const char * > const &exclusions)
 
std::string Inkscape::IO::Resource::profile_path (const char *filename)
 Get, or guess, or decide the location where the preferences.xml file should be located.
 
std::string Inkscape::IO::Resource::profile_path ()
 
std::string Inkscape::IO::Resource::shared_path (const char *filename)
 
std::string Inkscape::IO::Resource::shared_path ()
 
std::string Inkscape::IO::Resource::log_path (const char *filename)
 
std::string Inkscape::IO::Resource::homedir_path ()
 

Detailed Description

Inkscape::IO::Resource - simple resource API.

Definition in file resource.cpp.