feisty meow concerns codebase
2.140
|
The application base for the Nechung Oracle Program (NOP). More...
#include "nechung_oracle.h"
#include <basis/astring.h>
#include <basis/guards.h>
#include <basis/environment.h>
#include <filesystem/filename.h>
#include <loggers/console_logger.h>
#include <loggers/program_wide_logger.h>
Go to the source code of this file.
Macros | |
#define | LOG(s) program_wide_logger::get().log((s), 0) |
HOOPLE_STARTUP_CODE;. More... | |
#define | DEFAULT_FORTUNE_FILE "fortunes.dat" |
Functions | |
int | main (int argc, char *argv[]) |
The application base for the Nechung Oracle Program (NOP).
Definition in file nechung.cpp.
#define DEFAULT_FORTUNE_FILE "fortunes.dat" |
Definition at line 38 of file nechung.cpp.
#define LOG | ( | s | ) | program_wide_logger::get().log((s), 0) |
HOOPLE_STARTUP_CODE;.
Definition at line 35 of file nechung.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 40 of file nechung.cpp.
References filesystem::filename::basename(), DEFAULT_FORTUNE_FILE, nechung_oracle::display_random(), basis::astring::end(), filesystem::filename::extension(), basis::environment::get(), basis::astring::length(), LOG, filesystem::filename::raw(), SETUP_CONSOLE_LOGGER, basis::environment::TMP(), and basis::astring::zap().