OWLNext    7.0
Borland's Object Windows Library for the modern age
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
diaginit.cpp File Reference

Implementation of diagnostic initialization functions. More...

#include <owl/pch.h>
#include <owl/defs.h>
#include <owl/profile.h>
#include <owl/shellitm.h>
#include <owl/filename.h>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  owl
 Object Windows Library (OWLNext Core)
 

Functions

tstring owl::GetDiagIniFullFileName_ (LPCSTR filename_)
 
bool owl::GetDiagEnabled (LPCSTR filename, LPCSTR diagGroup, bool defEnabled)
 Retrieves a diagnostic group's enabled flag from a private ini-file.
 
int owl::GetDiagLevel (LPCSTR filename, LPCSTR diagGroup, int defLevel)
 Retrieves a diagnostic group's level setting from a private ini-file.
 

Detailed Description

Implementation of diagnostic initialization functions.

Settings are stored in a profile (name is provided) in a section named "Diagnostics". Profile format in an ascii .ini file looks like:

where:

<enabled> = 0|1
<level> = 0..255

Definition in file diaginit.cpp.