|
GnuCash 2.4.99
|
00001 /* 00002 * dialog-job.h -- Dialog(s) for Job search and entry 00003 * Copyright (C) 2001,2002 Derek Atkins 00004 * Author: Derek Atkins <warlord@MIT.EDU> 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License as 00008 * published by the Free Software Foundation; either version 2 of 00009 * the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, contact: 00018 * 00019 * Free Software Foundation Voice: +1-617-542-5942 00020 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 00021 * Boston, MA 02110-1301, USA gnu@gnu.org 00022 */ 00023 00024 00025 #ifndef GNC_DIALOG_JOB_H_ 00026 #define GNC_DIALOG_JOB_H_ 00027 00028 typedef struct _job_window JobWindow; 00029 00030 #include "gncJob.h" 00031 #include "gncOwner.h" 00032 #include "dialog-search.h" 00033 00034 /* Create or Edit a job */ 00035 GncJob * gnc_ui_job_new_return_handle (GncOwner *owner, QofBook *book); 00036 JobWindow * gnc_ui_job_edit (GncJob *job); 00037 JobWindow * gnc_ui_job_new (GncOwner *owner, QofBook *book); 00038 00039 /* Search for Jobs */ 00040 GNCSearchWindow * gnc_job_search (GncJob *start, GncOwner *owner, 00041 QofBook *book); 00042 00043 /* 00044 * These callbacks are for use with the gnc_general_search widget 00045 * 00046 * select() provides a Select Dialog and returns it. 00047 * edit() opens the existing customer for editing and returns NULL. 00048 */ 00049 GNCSearchWindow * gnc_job_search_select (gpointer start, gpointer book); 00050 GNCSearchWindow * gnc_job_search_edit (gpointer start, gpointer book); 00051 00052 #endif /* GNC_DIALOG_JOB_H_ */
1.7.4