mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
add account types strings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@822 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
17443baae0
commit
61e858bc73
23
src/engine/AccInfo.c
Normal file
23
src/engine/AccInfo.c
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
#include "AccInfo.h"
|
||||
#include "messages.h"
|
||||
/* whoa! */
|
||||
|
||||
char *account_type_name[NUM_ACCOUNT_TYPES] =
|
||||
{
|
||||
BANK_STR,
|
||||
CASH_STR,
|
||||
ASSET_STR,
|
||||
CREDIT_CARD_STR,
|
||||
LIABILITY_STR,
|
||||
STOCK_STR,
|
||||
MUTUAL_FUND_STR,
|
||||
INCOME_STR,
|
||||
EXPENSE_STR,
|
||||
EQUITY_STR,
|
||||
CHECKING_STR,
|
||||
SAVINGS_STR,
|
||||
MONEYMRKT_STR,
|
||||
CREDITLINE_STR
|
||||
};
|
||||
|
@ -60,6 +60,11 @@ enum
|
||||
NUM_ACCOUNT_TYPES = 14
|
||||
};
|
||||
|
||||
/* hack alert -- we need a better way of dealing with
|
||||
* account names!
|
||||
*/
|
||||
extern char *account_type_name [NUM_ACCOUNT_TYPES];
|
||||
|
||||
struct _BankAcct
|
||||
{
|
||||
char * bankid; /* routing and transit number */
|
||||
|
@ -41,7 +41,7 @@ LIBPATH = -L/lib -L/usr/lib -L/usr/local/lib
|
||||
TARGET = ../libengine.a
|
||||
|
||||
######################################################################
|
||||
SRCS = Account.c DateUtils.c FileIO.c Group.c LedgerUtils.c \
|
||||
SRCS = AccInfo.c Account.c DateUtils.c FileIO.c Group.c LedgerUtils.c \
|
||||
QIFIO.c Transaction.c TransLog.c date.c util.c
|
||||
OBJS = ${SRCS:.c=.o}
|
||||
######################################################################
|
||||
|
@ -41,7 +41,7 @@ LIBPATH = -L/lib -L/usr/lib -L/usr/local/lib
|
||||
TARGET = ../libengine.a
|
||||
|
||||
######################################################################
|
||||
SRCS = Account.c DateUtils.c FileIO.c Group.c LedgerUtils.c \
|
||||
SRCS = AccInfo.c Account.c DateUtils.c FileIO.c Group.c LedgerUtils.c \
|
||||
QIFIO.c Transaction.c TransLog.c date.c util.c
|
||||
OBJS = ${SRCS:.c=.o}
|
||||
######################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user