GnuCashew ~ GnuCash Enabled Web
GCW
Engine.h
Go to the documentation of this file.
1 #line 2 "src/Eng/Engine.h"
2 
3 #ifndef __ENG_ENGINE_H___
4 #define __ENG_ENGINE_H___
5 
6 #include <string>
7 
8 #include "Accounts.h"
9 
10 namespace GCW {
11  namespace Eng {
12 
13 class Engine
14 {
15  public:
16 
17  Engine();
18 
19  /*!
20  ** \brief Open the Database
21  **
22  */
23  bool open( const std::string & _filePath );
24 
25  /*!
26  ** \brief Is Database Open
27  **
28  */
29  bool isOpen();
30 
31  /*!
32  ** \brief Database has Gnucashew Extensions
33  **
34  */
36 
38 
39  private:
40 
42 
43 }; // endclass Engine
44 
45  } // namespace Eng {
46 } // endnamespace GCW {
47 
48 
49 #endif // #ifndef __ENG_ENGINE_H___
50 
51 
52 
bool hasGnucashewExtensions()
Database has Gnucashew Extensions.
Definition: Engine.cpp:38
bool open(const std::string &_filePath)
Open the Database.
Definition: Engine.cpp:19
GCW::Eng::Accounts & accounts()
Definition: Engine.h:37
bool isOpen()
Is Database Open.
Definition: Engine.cpp:31
GCW::Eng::Accounts m_accounts
Definition: Engine.h:41
Definition: App.h:17