/usr/include/gthumb-2.14/gthumb/gth-file-list.h is in gthumb-dev 3:2.14.3-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* GThumb
*
* Copyright (C) 2001-2008 The Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef GTH_FILE_LIST_H
#define GTH_FILE_LIST_H
#include <gtk/gtk.h>
#include "gth-file-data.h"
#include "gth-file-view.h"
#include "gth-file-source.h"
#include "gth-file-store.h"
#include "gth-test.h"
#include "gth-thumb-loader.h"
G_BEGIN_DECLS
typedef enum {
GTH_FILE_LIST_TYPE_NORMAL,
GTH_FILE_LIST_TYPE_BROWSER,
GTH_FILE_LIST_TYPE_SELECTOR,
GTH_FILE_LIST_TYPE_NO_SELECTION,
GTH_FILE_LIST_TYPE_V_SIDEBAR,
GTH_FILE_LIST_TYPE_H_SIDEBAR
} GthFileListType;
#define GTH_TYPE_FILE_LIST (gth_file_list_get_type ())
#define GTH_FILE_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTH_TYPE_FILE_LIST, GthFileList))
#define GTH_FILE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTH_TYPE_FILE_LIST, GthFileListClass))
#define GTH_IS_FILE_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTH_TYPE_FILE_LIST))
#define GTH_IS_FILE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTH_TYPE_FILE_LIST))
#define GTH_FILE_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTH_TYPE_FILE_LIST, GthFileListClass))
typedef struct _GthFileList GthFileList;
typedef struct _GthFileListClass GthFileListClass;
typedef struct _GthFileListPrivateData GthFileListPrivateData;
struct _GthFileList {
GtkVBox __parent;
GthFileListPrivateData *priv;
};
struct _GthFileListClass {
GtkVBoxClass __parent;
};
GType gth_file_list_get_type (void);
GtkWidget * gth_file_list_new (GtkWidget *file_view,
GthFileListType list_type,
gboolean enable_drag_drop);
void gth_file_list_set_type (GthFileList *file_list,
GthFileListType list_type);
void gth_file_list_cancel (GthFileList *file_list,
DataFunc done_func,
gpointer user_data);
GthThumbLoader * gth_file_list_get_thumb_loader (GthFileList *file_list);
void gth_file_list_set_files (GthFileList *file_list,
GList *list);
GList * gth_file_list_get_files (GthFileList *file_list,
GList *tree_path_list);
void gth_file_list_clear (GthFileList *file_list,
const char *message);
void gth_file_list_add_files (GthFileList *file_list,
GList *list /* GthFileData */,
int position);
void gth_file_list_delete_files (GthFileList *file_list,
GList *list /* GFile */);
void gth_file_list_update_files (GthFileList *file_list,
GList *list /* GthFileData */);
void gth_file_list_rename_file (GthFileList *file_list,
GFile *file,
GthFileData *file_data);
void gth_file_list_set_filter (GthFileList *file_list,
GthTest *filter);
void gth_file_list_set_sort_func (GthFileList *file_list,
GthFileDataCompFunc cmp_func,
gboolean inverse_sort);
void gth_file_list_enable_thumbs (GthFileList *file_list,
gboolean enable);
void gth_file_list_set_ignore_hidden (GthFileList *file_list,
gboolean value);
void gth_file_list_set_thumb_size (GthFileList *file_list,
int size);
void gth_file_list_set_caption (GthFileList *file_list,
const char *attribute);
GtkWidget * gth_file_list_get_view (GthFileList *file_list);
GtkWidget * gth_file_list_get_empty_view (GthFileList *file_list);
GtkAdjustment * gth_file_list_get_vadjustment (GthFileList *file_list);
int gth_file_list_first_file (GthFileList *file_list,
gboolean skip_broken,
gboolean only_selected);
int gth_file_list_last_file (GthFileList *file_list,
gboolean skip_broken,
gboolean only_selected);
int gth_file_list_next_file (GthFileList *file_list,
int pos,
gboolean skip_broken,
gboolean only_selected,
gboolean wrap);
int gth_file_list_prev_file (GthFileList *file_list,
int pos,
gboolean skip_broken,
gboolean only_selected,
gboolean wrap);
G_END_DECLS
#endif /* GTH_FILE_LIST_H */
|