GnuCashew ~ Web Application compatible with GnuCash sql data files.
GCW
Loading...
Searching...
No Matches
GnuCashew.h
Go to the documentation of this file.
1#line 2 "src/GnuCashew.h"
2
3#ifndef __GNUCASHEW_H___
4#define __GNUCASHEW_H___
5
6/*
7** need to set up a namespace for the DECIMAL library, but
8** definining the macro is somewhat problemmatic, so we
9** moved the definition in to the CMakeLists so that the
10** definition was made there, insuring it's global for
11** the whole compilation process.
12**
13*/
14// #define DEC_NAMESPACE DECIMAL ... this got moved to CMakeLists so that it is totally global
15
16#include "Glb/gcwglobal.h"
17#include "3rd/decimal.h"
18#include "define.h"
19#include "App.h"
20#include "Dbo/Vars/Vars.h"
21
22namespace GCW {
23
24 /*!
25 ** \brief Config Namespace
26 **
27 ** The config namespace provides access to the various
28 ** configuration variables.
29 **
30 */
31 namespace Cfg {
32
33/*!
34** \brief Decimal Format Specifier
35**
36** This provides the DECIMAL<2>() library with the formatting
37** specification for converting DECIMAL numbers to strings.
38**
39*/
40DECIMAL::decimal_format decimal_format();
41
42/*!
43** \brief Date Format Specifier
44**
45**
46*/
47std::string date_format();
48
49/*!
50** \brief Time Format Specifier
51**
52**
53*/
54std::string time_format();
55
56 } // endnamespace Cfg {
57} // endnamespace GCW {
58
59#endif // end#ifndef __GNUCASHEW_H___
60
61
std::string date_format()
Date Format Specifier.
Definition GnuCashew.cpp:27
std::string time_format()
Time Format Specifier.
Definition GnuCashew.cpp:35
DECIMAL::decimal_format decimal_format()
Decimal Format Specifier.
Definition GnuCashew.cpp:21
Definition App.h:18