/usr/include/gmerlin/gui_gtk/tree.h is in libgmerlin-dev 1.0.0~dfsg-13.
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 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | /*****************************************************************
* gmerlin - a general purpose multimedia framework and applications
*
* Copyright (c) 2001 - 2011 Members of the Gmerlin project
* gmerlin-general@lists.sourceforge.net
* http://gmerlin.sourceforge.net
*
* 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 __BG_GTK_TREE_H_
#define __BG_GTK_TREE_H_
/* Atom definitions for drag_n_drop */
void bg_gtk_tree_create_atoms();
#define bg_gtk_atom_entries_name "gmerlin_entries"
/* Entries corresponding to removable devices can be dragged
into the transcoder window but not between albums */
#define bg_gtk_atom_entries_name_r "gmerlin_entries_r"
#define bg_gtk_atom_album_name "gmerlin_album"
extern GdkAtom bg_gtk_atom_entries;
extern GdkAtom bg_gtk_atom_entries_r;
extern GdkAtom bg_gtk_atom_album;
typedef struct bg_gtk_tree_window_s bg_gtk_tree_window_t;
typedef struct bg_gtk_album_widget_s bg_gtk_album_widget_t;
typedef struct bg_gtk_tree_widget_s bg_gtk_tree_widget_t;
typedef struct bg_gtk_album_window_s bg_gtk_album_window_t;
/* Tree widget */
bg_gtk_tree_widget_t * bg_gtk_tree_widget_create(bg_media_tree_t * tree, GtkAccelGroup * accel_group,
GtkWidget * toplevel_window);
bg_media_tree_t * bg_gtk_tree_widget_get_tree(bg_gtk_tree_widget_t *);
void bg_gtk_tree_widget_destroy(bg_gtk_tree_widget_t *);
GtkWidget * bg_gtk_tree_widget_get_widget(bg_gtk_tree_widget_t *);
void
bg_gtk_tree_widget_close_album(bg_gtk_tree_widget_t * widget,
bg_gtk_album_window_t * win);
void bg_gtk_tree_widget_open_incoming(bg_gtk_tree_widget_t*);
void bg_gtk_tree_widget_goto_current(bg_gtk_tree_widget_t * wid);
/* Tree window */
bg_gtk_tree_window_t *
bg_gtk_tree_window_create(bg_media_tree_t * tree,
void (*close_callback)(bg_gtk_tree_window_t*,void*),
void * close_callback_data, GtkAccelGroup * accel_group);
void bg_gtk_tree_window_destroy(bg_gtk_tree_window_t *);
void bg_gtk_tree_window_show(bg_gtk_tree_window_t*);
void bg_gtk_tree_window_hide(bg_gtk_tree_window_t*);
void bg_gtk_tree_window_open_incoming(bg_gtk_tree_window_t*);
void bg_gtk_tree_window_goto_current(bg_gtk_tree_window_t * win);
void bg_gtk_tree_window_update(bg_gtk_tree_window_t * w,
int open_albums);
/* Album widget */
bg_gtk_album_widget_t * bg_gtk_album_widget_create(bg_album_t * album,
GtkWidget * parent);
void bg_gtk_album_widget_destroy(bg_gtk_album_widget_t*);
GtkWidget * bg_gtk_album_widget_get_widget(bg_gtk_album_widget_t*);
GtkAccelGroup * bg_gtk_album_widget_get_accel_group(bg_gtk_album_widget_t*);
bg_album_t * bg_gtk_album_widget_get_album(bg_gtk_album_widget_t*);
void bg_gtk_album_widget_delete_drag();
void bg_gtk_album_widget_goto_current(bg_gtk_album_widget_t * w);
void bg_gtk_album_widget_put_config(bg_gtk_album_widget_t * w);
void
bg_gtk_album_widget_set_close_callback(bg_gtk_album_widget_t * w,
void (*callback)(bg_gtk_album_widget_t *, void*), void*);
void bg_gtk_tree_widget_update(bg_gtk_tree_widget_t * w,
int open_albums);
/* Album window */
bg_gtk_album_window_t * bg_gtk_album_window_create(bg_album_t * album,
bg_gtk_tree_widget_t*, GtkAccelGroup * accel_group);
void bg_gtk_album_window_destroy(bg_gtk_album_window_t*, int notify);
GtkAccelGroup * bg_gtk_album_window_get_accel_group(bg_gtk_album_window_t*);
void bg_gtk_album_window_raise(bg_gtk_album_window_t*);
void bg_gtk_album_window_goto_current(bg_gtk_album_window_t * w);
bg_album_t * bg_gtk_album_window_get_album(bg_gtk_album_window_t*);
void bg_gtk_album_window_attach(bg_gtk_album_window_t * w, GtkWidget * notebook);
void bg_gtk_album_window_detach(bg_gtk_album_window_t * w);
void bg_gtk_album_window_set_current(bg_gtk_album_window_t * w, int current);
#endif // __BG_GTK_TREE_H_
|