1 /* |
|
2 * CDDL HEADER START |
|
3 * |
|
4 * The contents of this file are subject to the terms of the |
|
5 * Common Development and Distribution License (the "License"). |
|
6 * You may not use this file except in compliance with the License. |
|
7 * |
|
8 * You can obtain a copy of the license at src/OPENSOLARIS.LICENSE |
|
9 * or http://www.opensolaris.org/os/licensing. |
|
10 * See the License for the specific language governing permissions |
|
11 * and limitations under the License. |
|
12 * |
|
13 * When distributing Covered Code, include this CDDL HEADER in each |
|
14 * file and include the License file at src/OPENSOLARIS.LICENSE. |
|
15 * If applicable, add the following below this CDDL HEADER, with the |
|
16 * fields enclosed by brackets "[]" replaced with your own identifying |
|
17 * information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 * |
|
19 * CDDL HEADER END |
|
20 */ |
|
21 |
|
22 /* |
|
23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. |
|
24 * Use is subject to license terms. |
|
25 */ |
|
26 |
|
27 |
|
28 #ifndef _FSEXAM_H_ |
|
29 #define _FSEXAM_H_ |
|
30 |
|
31 #define GETTEXT_PACKAGE "fsexam" |
|
32 #define FSEXAM_LOCALEDIR "/usr/share/locale/" |
|
33 #define VERSION "0.3" |
|
34 |
|
35 enum |
|
36 { |
|
37 ICON_COLUMN = 0, |
|
38 FILENAME_COLUMN, |
|
39 LOADED_COLUMN, |
|
40 NUM_COLUMNS |
|
41 }; |
|
42 |
|
43 typedef struct _FSEXAM_view FSEXAM_view; |
|
44 struct _FSEXAM_view |
|
45 { |
|
46 GtkWidget *mainwin; |
|
47 GtkWidget *treeview; |
|
48 GtkWidget *contents; |
|
49 GtkWidget *reportwin; |
|
50 GtkWidget *statusbar; |
|
51 GtkWidget *peekwin; |
|
52 GtkWidget *undo_menuitem; |
|
53 GdkPixbuf *icon; |
|
54 GHashTable *pixbuf_hash; |
|
55 |
|
56 gint lineoffset; // for report pane |
|
57 |
|
58 gchar *rootdir; |
|
59 |
|
60 FSEXAM_pref *pref; |
|
61 History_info *histinfo; |
|
62 |
|
63 GSList *undo_list; |
|
64 }; |
|
65 |
|
66 extern FSEXAM_view *view; |
|
67 |
|
68 GtkWidget *fsexam_construct_ui (char *); |
|
69 void fsexam_treeview_construct (char *); |
|
70 void fsexam_statusbar_update (char *); |
|
71 |
|
72 #endif |
|