#include "Database.h"
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Compounds | |
struct | AccountFlags |
account flags for tight packing. More... | |
class | AccountsDB |
class to manipulate the accounts database. More... | |
struct | accountStructure |
unpacked structure of an account. More... | |
struct | packedAccountStructure |
the packed structure of an account. More... | |
struct | totalsStruct |
this structure contains the overall totals for all the selected accounts. More... | |
Defines | |
#define | ACCOUNTSDB_TYPE 'DATA' |
type of the account database. More... | |
#define | ACCOUNTSDB_NAME "FreeCoins-Accounts" |
db name. More... | |
Enumerations | |
enum | sortOrder { soName, soAmount, soDate } |
sort order type. More... | |
enum | AccountType { BANK = 0, CREDIT = 1, INCOME = 2, EXPENSE = 3, EQUITY = 4 } |
possible account types. More... | |
Variables | |
AccountsDB * | accounts_db |
unfortunatelly this is a bit messy :(. More... |
|
db name.
Definition at line 29 of file AccountsDB.h. |
|
type of the account database. Copyright (C) 2000-2002 Vlad Mereuta <dizzy@users.sourceforge.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Definition at line 27 of file AccountsDB.h. |
|
possible account types.
Definition at line 85 of file AccountsDB.h. |
|
sort order type.
Definition at line 42 of file AccountsDB.h. |
|
unfortunatelly this is a bit messy :(. We need to be able to access this db from anywhere in the program (including the compareRecords function). The best solution I managed to come up with is defining the pointer in .c file, and exporting it in .h (tried defining it as static in .h only but did not work. Next we need to instatntiate the class (this is done in palmcoins.c) and set the pointer to a valid address Definition at line 240 of file AccountsDB.h. |