Fcitx
Classes | Typedefs | Enumerations
standardpaths.h File Reference

New Utility classes to handle application specific path. More...

#include <sys/types.h>
#include <cstdint>
#include <filesystem>
#include <functional>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <unordered_map>
#include <vector>
#include <fcitx-utils/fcitxutils_export.h>
#include <fcitx-utils/flags.h>
#include <fcitx-utils/macros.h>
#include <fcitx-utils/unixfd.h>
#include <span>
Include dependency graph for standardpaths.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fcitx::StandardPaths
 
class  fcitx::StandardPathsTypeConverter< T >
 

Typedefs

using fcitx::StandardPathsModes = Flags< StandardPathsMode >
 
using fcitx::StandardPathsOptions = Flags< StandardPathsOption >
 
using fcitx::StandardPathsFilterCallback = std::function< bool(const std::filesystem::path &)>
 

Enumerations

enum  fcitx::StandardPathsType {
  Config, PkgConfig, Data, Cache,
  Runtime, Addon, PkgData
}
 Enum for location type. More...
 
enum  StandardPathsMode : uint8_t { User = (1 << 0), System = (1 << 1), Default = User | System }
 
enum  fcitx::StandardPathsOption : uint8_t { SkipUserPath = (1 << 0), SkipSystemPath = (1 << 1), SkipBuiltInPath = (1 << 2) }
 Options for standard paths. More...
 

Detailed Description

New Utility classes to handle application specific path.

Comparing to the existing ones, it removes some obsolette functions, and remove The ones can more easily implemented with std::filesystems.

Definition in file standardpaths.h.