GnuCashew ~ GnuCash Enabled Web
GCW
Eng
Engine.cpp
Go to the documentation of this file.
1
#line 2 "src/Eng/Engine.cpp"
2
3
#include <iostream>
4
5
//#include <gnucash/gnc-session.h>
6
//#include <gnucash/Account.h>
7
//#include <gnucash/Transaction.h>
8
//#include <gnucash/qofsession.h>
9
10
#include "
Engine.h
"
11
12
GCW::Eng::Engine::
13
Engine
()
14
{
15
}
// endGCW::Eng::Engine::Engine()
16
17
bool
18
GCW::Eng::Engine::
19
open
(
const
std::string & _filePath )
20
{
21
if
( isOpen() )
22
return
true
;
23
24
std::cout << __FILE__ <<
":"
<< __LINE__ <<
" "
<< _filePath << std::endl;
25
26
return
true
;
27
}
28
29
bool
30
GCW::Eng::Engine::
31
isOpen
()
32
{
33
return
true
;
34
}
35
36
bool
37
GCW::Eng::Engine::
38
hasGnucashewExtensions
()
39
{
40
return
true
;
41
}
Engine.h
GCW::Eng::Engine::hasGnucashewExtensions
bool hasGnucashewExtensions()
Database has Gnucashew Extensions.
Definition:
Engine.cpp:38
GCW::Eng::Engine::open
bool open(const std::string &_filePath)
Open the Database.
Definition:
Engine.cpp:19
GCW::Eng::Engine::Engine
Engine()
Definition:
Engine.cpp:13
GCW::Eng::Engine::isOpen
bool isOpen()
Is Database Open.
Definition:
Engine.cpp:31
Generated on Fri Mar 7 2025 11:49:32 for GnuCashew ~ GnuCash Enabled Web by
1.9.1