"Fossies" - the Fresh Open Source Software Archive 
Member "jpilot-2_0_1/export.h" (3 Apr 2021, 2047 Bytes) of package /linux/privat/jpilot-2_0_1.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
1 /*******************************************************************************
2 * export.h
3 * A module of J-Pilot http://jpilot.org
4 *
5 * Copyright (C) 1999-2014 by Judd Montgomery
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 ******************************************************************************/
20
21 #ifndef __EXPORT_H__
22 #define __EXPORT_H__
23
24 #include <gtk/gtk.h>
25 #include <pi-appinfo.h>
26
27 int export_gui(GtkWidget *main_window,
28 int w, int h, int x, int y,
29 int columns,
30 struct sorted_cats *sort_l,
31 int pref_export,
32 char *type_text[],
33 int type_int[],
34 GtkWidget * (*cb_init_menu)(),
35 void (*cb_export_menu)(GtkWidget *treeView, int category),
36 void (*cb_export_done)(GtkWidget *widget,
37 const char *filename),
38 void (*cb_export_ok)(GtkWidget *export_window,
39 GtkWidget *treeView,
40 int type,
41 const char *filename)
42 );
43
44 /*
45 * Actually, this should be in import.h, but I didn't want to create a whole
46 * header file just for one function, so its here for now.
47 * The code is in import_gui.c
48 */
49 int read_csv_field(FILE *in, char *text, int size);
50
51 int export_browse(GtkWidget *main_window, int pref_export);
52
53 #endif