mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-09 19:10:48 +00:00
e6637e81cc
* CMake: add USE_PANDOC, USE_DOXYGEN options #101 * README: mention rust * start integrating rust into build #101 * CMake: add USE_NETWORK option for cargo * Debian: build-dep on doxygen * rust: colloquy checks in Cargo.lock * extract NCKEY defines into their own include * colloquy: use clap to parse CLI args * CMake: unify option namespace * Python: update include path * Rust: fix up --frozen workings for -DUSE_NETWORK=off * CMake: abstract out colloquy a little * Sync direct.hh to the New Way
22 lines
675 B
C++
22 lines
675 B
C++
#ifndef __NCPP_NCLOGLEVEL_HH
|
|
#define __NCPP_NCLOGLEVEL_HH
|
|
|
|
#include <notcurses/notcurses.h>
|
|
|
|
namespace ncpp
|
|
{
|
|
struct NCLogLevel
|
|
{
|
|
static constexpr ncloglevel_e Silent = NCLOGLEVEL_SILENT;
|
|
static constexpr ncloglevel_e Panic = NCLOGLEVEL_PANIC;
|
|
static constexpr ncloglevel_e Fatal = NCLOGLEVEL_FATAL;
|
|
static constexpr ncloglevel_e Error = NCLOGLEVEL_ERROR;
|
|
static constexpr ncloglevel_e Warning = NCLOGLEVEL_WARNING;
|
|
static constexpr ncloglevel_e Info = NCLOGLEVEL_INFO;
|
|
static constexpr ncloglevel_e Verbose = NCLOGLEVEL_VERBOSE;
|
|
static constexpr ncloglevel_e Debug = NCLOGLEVEL_DEBUG;
|
|
static constexpr ncloglevel_e Trace = NCLOGLEVEL_TRACE;
|
|
};
|
|
}
|
|
#endif
|