GnuCash
5.6-150-g038405b370+
|
Job Interface. More...
Go to the source code of this file.
Macros | |
#define | GNC_ID_JOB "gncJob" |
#define | GNC_TYPE_JOB (gnc_job_get_type ()) |
#define | GNC_JOB(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_JOB, GncJob)) |
#define | GNC_JOB_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GNC_TYPE_JOB, GncJobClass)) |
#define | GNC_IS_JOB(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNC_TYPE_JOB)) |
#define | GNC_IS_JOB_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GNC_TYPE_JOB)) |
#define | GNC_JOB_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GNC_TYPE_JOB, GncJobClass)) |
#define | JOB_ID "id" |
#define | JOB_NAME "name" |
#define | JOB_REFERENCE "reference" |
#define | JOB_RATE "rate" |
#define | JOB_OWNER "owner" |
#define | Q_JOB_OWNER "owner_collection" |
#define | JOB_ACTIVE "active" |
#define | gncJobGetBook(x) qof_instance_get_book(QOF_INSTANCE(x)) |
deprecated functions | |
#define | gncJobGetGUID(x) qof_instance_get_guid(QOF_INSTANCE(x)) |
#define | gncJobRetGUID(x) (x ? *(qof_instance_get_guid(QOF_INSTANCE(x))) : *(guid_null())) |
#define | gncJobLookupDirect(G, B) gncJobLookup((B),&(G)) |
Functions | |
GType | gnc_job_get_type (void) |
GncJob * | gncJobCreate (QofBook *book) |
void | gncJobDestroy (GncJob *job) |
void | gncJobFreeList (GList *jobs) |
void | gncJobBeginEdit (GncJob *job) |
void | gncJobCommitEdit (GncJob *job) |
int | gncJobCompare (const GncJob *a, const GncJob *b) |
gboolean | gncJobEqual (const GncJob *a, const GncJob *b) |
Set Functions | |
void | gncJobSetID (GncJob *job, const char *id) |
void | gncJobSetName (GncJob *job, const char *jobname) |
void | gncJobSetReference (GncJob *job, const char *owner_reference) |
void | gncJobSetRate (GncJob *job, gnc_numeric rate) |
void | gncJobSetOwner (GncJob *job, GncOwner *owner) |
void | gncJobSetActive (GncJob *job, gboolean active) |
Get Functions | |
const char * | gncJobGetID (const GncJob *job) |
const char * | gncJobGetName (const GncJob *job) |
const char * | gncJobGetReference (const GncJob *job) |
gnc_numeric | gncJobGetRate (const GncJob *job) |
GncOwner * | gncJobGetOwner (GncJob *job) |
gboolean | gncJobGetActive (const GncJob *job) |
Job Interface.
Definition in file gncJob.h.