/usr/include/gnome-disk-utility/gdu-gtk/gdu-gtk.h is in libgdu-gtk-dev 3.0.2-3.
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 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
/* gdu-gtk.h
*
* Copyright (C) 2007 David Zeuthen
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
#ifndef GDU_GTK_H
#define GDU_GTK_H
#ifndef GDU_GTK_API_IS_SUBJECT_TO_CHANGE
#error libgdu-gtk is unstable API. You must define GDU_GTK_API_IS_SUBJECT_TO_CHANGE before including gdu-gtk/gdu-gtk.h
#endif
#define __GDU_GTK_INSIDE_GDU_GTK_H
#include <gdu-gtk/gdu-gtk-types.h>
#include <gdu-gtk/gdu-gtk-enumtypes.h>
#include <gdu-gtk/gdu-time-label.h>
#include <gdu-gtk/gdu-pool-tree-view.h>
#include <gdu-gtk/gdu-pool-tree-model.h>
#include <gdu-gtk/gdu-size-widget.h>
#include <gdu-gtk/gdu-create-linux-md-dialog.h>
#include <gdu-gtk/gdu-ata-smart-dialog.h>
#include <gdu-gtk/gdu-volume-grid.h>
#include <gdu-gtk/gdu-details-table.h>
#include <gdu-gtk/gdu-details-element.h>
#include <gdu-gtk/gdu-error-dialog.h>
#include <gdu-gtk/gdu-confirmation-dialog.h>
#include <gdu-gtk/gdu-button-element.h>
#include <gdu-gtk/gdu-button-table.h>
#include <gdu-gtk/gdu-dialog.h>
#include <gdu-gtk/gdu-edit-partition-dialog.h>
#include <gdu-gtk/gdu-format-dialog.h>
#include <gdu-gtk/gdu-partition-dialog.h>
#include <gdu-gtk/gdu-create-partition-dialog.h>
#include <gdu-gtk/gdu-edit-name-dialog.h>
#include <gdu-gtk/gdu-disk-selection-widget.h>
#include <gdu-gtk/gdu-add-component-linux-md-dialog.h>
#include <gdu-gtk/gdu-edit-linux-md-dialog.h>
#include <gdu-gtk/gdu-edit-linux-lvm2-dialog.h>
#include <gdu-gtk/gdu-drive-benchmark-dialog.h>
#include <gdu-gtk/gdu-connect-to-server-dialog.h>
#include <gdu-gtk/gdu-create-linux-lvm2-volume-dialog.h>
#include <gdu-gtk/gdu-add-pv-linux-lvm2-dialog.h>
#undef __GDU_GTK_INSIDE_GDU_GTK_H
G_BEGIN_DECLS
gboolean gdu_util_dialog_show_filesystem_busy (GtkWidget *parent_window, GduPresentable *presentable);
char *gdu_util_dialog_ask_for_new_secret (GtkWidget *parent_window,
gboolean *save_in_keyring,
gboolean *save_in_keyring_session);
char *gdu_util_dialog_ask_for_secret (GtkWidget *parent_window,
GduPresentable *presentable,
gboolean bypass_keyring,
gboolean indicate_wrong_passphrase,
gboolean *asked_user);
gboolean gdu_util_dialog_change_secret (GtkWidget *parent_window,
GduPresentable *presentable,
char **old_secret,
char **new_secret,
gboolean *save_in_keyring,
gboolean *save_in_keyring_session,
gboolean bypass_keyring,
gboolean indicate_wrong_passphrase);
gboolean gdu_util_delete_confirmation_dialog (GtkWidget *parent_window,
const char *title,
const char *primary_text,
const char *secondary_text,
const char *affirmative_action_button_mnemonic);
/* ---------------------------------------------------------------------------------------------------- */
GtkWidget *gdu_util_fstype_combo_box_create (GduPool *pool,
const char *include_extended_partitions_for_scheme);
void gdu_util_fstype_combo_box_rebuild (GtkWidget *combo_box,
GduPool *pool,
const char *include_extended_partitions_for_scheme);
void gdu_util_fstype_combo_box_set_desc_label (GtkWidget *combo_box, GtkWidget *desc_label);
gboolean gdu_util_fstype_combo_box_select (GtkWidget *combo_box,
const char *fstype);
char *gdu_util_fstype_combo_box_get_selected (GtkWidget *combo_box);
/* ---------------------------------------------------------------------------------------------------- */
GtkWidget *gdu_util_part_type_combo_box_create (const char *part_scheme);
void gdu_util_part_type_combo_box_rebuild (GtkWidget *combo_box,
const char *part_scheme);
gboolean gdu_util_part_type_combo_box_select (GtkWidget *combo_box,
const char *part_type);
char *gdu_util_part_type_combo_box_get_selected (GtkWidget *combo_box);
/* ---------------------------------------------------------------------------------------------------- */
GtkWidget *gdu_util_part_table_type_combo_box_create (void);
void gdu_util_part_table_type_combo_box_set_desc_label (GtkWidget *combo_box, GtkWidget *desc_label);
gboolean gdu_util_part_table_type_combo_box_select (GtkWidget *combo_box,
const char *part_table_type);
char *gdu_util_part_table_type_combo_box_get_selected (GtkWidget *combo_box);
/* ---------------------------------------------------------------------------------------------------- */
GdkPixbuf *gdu_util_get_pixbuf_for_presentable (GduPresentable *presentable, GtkIconSize size);
GdkPixbuf *gdu_util_get_pixbuf_for_presentable_at_pixel_size (GduPresentable *presentable, gint pixel_size);
void gdu_util_get_mix_color (GtkWidget *widget,
GtkStateType state,
gchar *color_buf,
gsize color_buf_size);
G_END_DECLS
#endif /* GDU_GTK_H */
|