gpe-expenses 0.1.9
Data Structures | Defines | Typedefs | Functions
qof-expenses.h File Reference

QOF expense definitions. More...

#include <glib.h>
#include <qof.h>

Go to the source code of this file.

Data Structures

struct  QofCurrency
 qof-expenses currency data wrapper. More...

Defines

#define GPE_MOD_EXP   "gpe-expenses-module"
#define GPE_QOF_EXPENSES   "gpe_expenses"
#define QOF_EXPENSES_DESC   "GPE QOF expenses"
#define EXP_DATE   "expense_date"
#define EXP_TYPE   "type_of_expense"
#define EXP_PAYMENT   "form_of_payment"
#define EXP_CURRENCY   "currency_code"
#define EXP_AMOUNT   "expense_amount"
#define EXP_VENDOR   "expense_vendor"
#define EXP_CITY   "expense_city"
#define EXP_ATTENDEES   "expense_attendees"
#define EXP_NOTE   "expense_note"
#define EXP_CATEGORY   "category"
#define EXP_DISTANCE   "distance_unit"
#define EXP_KVP   "currency_lookup"
#define PQ_CURRENCY_MNEMONIC   "expense/currency/mnemonic"
#define PQ_CURRENCY_SYMBOL   "expense/currency/symbol"
#define PQ_CURRENCY_FRACTION   "expense/currency/fraction"
#define DISTANCE_LIST(_)
#define PAYMENT_TYPE_LIST(_)
#define EXPENSE_TYPE_LIST(_)

Typedefs

typedef struct QofExp_s QofExp
 Wraps QOF around pilot-link expenses.
typedef void(* QofCurrencyCB )(gpointer key, gpointer value, gpointer user_data)

Functions

void qof_currency_foreach (QofCurrencyCB cb, gpointer user_data)
QofCurrencyqof_currency_lookup (QofInstance *inst, gint currency_code)
 Set details of a QofCurrency from a currency_code.
QofCurrencyqof_currency_lookup_name (QofInstance *inst, gchar *mnemonic)
 Lookup a currency by name.
gboolean ExpensesRegister (void)
 typedef for expense payment types.

Detailed Description

QOF expense definitions.

Author:
Copyright (c) 2004-2009 Neil Williams <linux@codehelp.co.uk>

Definition in file qof-expenses.h.