OWLNext 7.0
Borland's Object Windows Library for the modern age
|
General definitions used by all ObjectWindows programs. More...
#include <owl/private/defs.h>
#include <owl/private/memory.h>
#include <owl/private/except.h>
#include <owl/private/number.h>
#include <tchar.h>
#include <string>
#include <limits>
#include <type_traits>
#include <filesystem>
#include <owl/private/checks.h>
#include <owl/wsysinc.h>
#include <owl/system.h>
#include <owl/version.h>
Go to the source code of this file.
Classes | |
struct | owl::detail::TIsRepresentable< T, U, true > |
Namespaces | |
namespace | owl |
Object Windows Library (OWLNext Core) | |
namespace | owl::detail |
Macros | |
#define | _ttof atof |
#define | WM_SYSTEMERROR 0x0017 |
#define | WM_CTLCOLOR 0x0019 |
#define | HTASK HANDLE |
#define | OWL_INI "OWL.INI" |
#define | OWL_CDLEVEL 2 |
#define | OWL_DIAGINFO |
#define | OWL_PUBLIC_DATA |
#define | public_data public |
#define | protected_data protected |
#define | OWL_STRICT 1 |
#define | OWL_PERSISTENT_STREAMS 0 |
Typedefs | |
typedef char | owl::tchar |
typedef unsigned char | owl::utchar |
typedef std::string | owl::tstring |
Functions | |
template<class T > | |
auto | owl::to_tstring (const T &v) -> tstring |
template<> | |
auto | owl::to_tstring (const std::filesystem::path &p) -> tstring |
auto | owl::to_tstring (LPCSTR s) -> tstring |
auto | owl::to_tstring (LPCWSTR s) -> tstring |
auto | owl::to_tstring (std::string s) -> tstring |
auto | owl::to_tstring (const std::wstring &s) -> tstring |
uint32 | owl::OWLGetVersion () |
Get version of OWL at runtime. | |
TModule & | owl::OWLGetModule () |
Returns a reference to the global OWL module object. When linking dynamically to OWLNext, this is the module of the OWLNext DLL. When linking statically to OWLNext, it is the same as the one returned from GetGlobalModule. | |
void | owl::InitGlobalModule (HINSTANCE hInstance) |
TModule & | owl::GetGlobalModule () |
uint16 | owl::MkUint16 (uint8 lo, uint8 hi) |
uint32 | owl::MkUint32 (uint16 lo, uint16 hi) |
uint16 | owl::LoUint16 (LRESULT r) |
int16 | owl::LoInt16 (LRESULT r) |
uint16 | owl::HiUint16 (LRESULT r) |
int16 | owl::HiInt16 (LRESULT r) |
uint8 | owl::LoUint8 (LRESULT r) |
int8 | owl::LoInt8 (LRESULT r) |
uint8 | owl::HiUint8 (LRESULT r) |
int8 | owl::HiInt8 (LRESULT r) |
uint16 | owl::SwapUint16 (uint16 u16) |
uint32 | owl::SwapUint32 (uint32 u32) |
template<class T > | |
void | owl::InUse (const T &arg) |
Handy utility to avoid compiler warnings about unused parameters. | |
template<class TGetText > | |
tstring | owl::CopyText (int size, TGetText get_text) |
Copies text from a C-string (null-terminated character array) into a string object, using a function or functor (function object) to do the actual copying. | |
template<class T , class U > | |
bool | owl::IsRepresentable (U v) |
Helper function for testing for integer truncations. | |
General definitions used by all ObjectWindows programs.
Included directly by ObjectWindows source modules.
Definition in file defs.h.