30using namespace std::filesystem;
52 is >> Enabled >> Level;
64 if (
r !=
S_OK)
throw TXOwl{
_T(
"SHGetKnownFolderPath failed")};
80 if (f.has_parent_path())
99 return s.Enabled != 0;
An instance of TProfile encapsulates a setting within a system file, often referred to as a profile o...
int GetInt(LPCTSTR key, int defaultInt=0)
Looks up and returns the integer value associated with the given string, key.
Object Windows Library (OWLNext Core)
bool GetDiagEnabled(LPCSTR filename, LPCSTR diagGroup, bool defEnabled)
Retrieves a diagnostic group's enabled flag from a private ini-file.
std::istringstream tistringstream
int GetDiagLevel(LPCSTR filename, LPCSTR diagGroup, int defLevel)
Retrieves a diagnostic group's level setting from a private ini-file.
auto GetDiagIniFullFileName_(LPCSTR filename) -> tstring
auto to_tstring(const T &v) -> tstring
General definitions used by all ObjectWindows programs.
Definition of TProfile class.
Definitions of Win95 Shell Clases: TShellItem, TShellItemIterator, TPidl, TShellMalloc.