/usr/include/gnome-disk-utility/gdu-gtk/gdu-gtk-enums.h is in libgdu-gtk-dev 3.0.2-2ubuntu7.
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 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
/* gdu-gtk-enums.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.
*/
#if !defined (__GDU_GTK_INSIDE_GDU_GTK_H) && !defined (GDU_GTK_COMPILATION)
#error "Only <gdu-gtk/gdu-gtk.h> can be included directly, this file may disappear or change contents."
#endif
#ifndef GDU_GTK_ENUMS_H
#define GDU_GTK_ENUMS_H
#include <glib-object.h>
/**
* GduPoolTreeModelColumn:
* @GDU_POOL_TREE_MODEL_COLUMN_ICON: The #GIcon for the presentable.
* @GDU_POOL_TREE_MODEL_COLUMN_NAME: Human readable name of the presentable, e.g. "80 GB Solid-state Disk" or
* "Fedora (Rawhide)".
* @GDU_POOL_TREE_MODEL_COLUMN_VPD_NAME: Name for the presentable derived from Vital Product Data,
* e.g. "ATA INTEL SSDSA2MH080G1GC".
* @GDU_POOL_TREE_MODEL_COLUMN_DESCRIPTION: Human readable description of the presentable, e.g. "MBR Partition Table"
* or "32GB Linux ext3".
* @GDU_POOL_TREE_MODEL_COLUMN_PRESENTABLE: The #GduPresentable object.
* @GDU_POOL_TREE_MODEL_COLUMN_VISIBLE: Whether the item is visible.
* @GDU_POOL_TREE_MODEL_COLUMN_TOGGLED: Whether the item is toggled.
* @GDU_POOL_TREE_MODEL_COLUMN_CAN_BE_TOGGLED: Whether the item can be toggled.
*
* Columns used in #GduPoolTreeModel.
*/
typedef enum {
GDU_POOL_TREE_MODEL_COLUMN_ICON,
GDU_POOL_TREE_MODEL_COLUMN_NAME,
GDU_POOL_TREE_MODEL_COLUMN_VPD_NAME,
GDU_POOL_TREE_MODEL_COLUMN_DESCRIPTION,
GDU_POOL_TREE_MODEL_COLUMN_PRESENTABLE,
GDU_POOL_TREE_MODEL_COLUMN_VISIBLE,
GDU_POOL_TREE_MODEL_COLUMN_TOGGLED,
GDU_POOL_TREE_MODEL_COLUMN_CAN_BE_TOGGLED,
} GduPoolTreeModelColumn;
typedef enum {
GDU_POOL_TREE_VIEW_FLAGS_NONE = 0,
GDU_POOL_TREE_VIEW_FLAGS_SHOW_TOGGLE = (1<<0),
} GduPoolTreeViewFlags;
/**
* GduPoolTreeModelFlags:
* @GDU_POOL_TREE_MODEL_FLAGS_NONE: No flags set.
* @GDU_POOL_TREE_MODEL_FLAGS_NO_VOLUMES: Don't include presentables representing volumes or holes.
* @GDU_POOL_TREE_MODEL_FLAGS_NO_UNALLOCATABLE_DRIVES: Don't include drives that cannot be allocated to e.g. a RAID array.
*
* Flags used when creating a #GduPoolTreeModel.
*/
typedef enum {
GDU_POOL_TREE_MODEL_FLAGS_NONE = 0,
GDU_POOL_TREE_MODEL_FLAGS_NO_VOLUMES = (1<<0),
GDU_POOL_TREE_MODEL_FLAGS_NO_UNALLOCATABLE_DRIVES = (1<<2),
} GduPoolTreeModelFlags;
/**
* GduFormatDialogFlags:
* @GDU_FORMAT_DIALOG_FLAGS_NONE: No flags set.
* @GDU_FORMAT_DIALOG_FLAGS_SIMPLE: Show a simple form of the dialog.
* @GDU_FORMAT_DIALOG_FLAGS_DISK_UTILITY_BUTTON: Show a "Disk Utility" button.
* @GDU_FORMAT_DIALOG_FLAGS_ALLOW_MSDOS_EXTENDED: Allow selecting a MS-DOS extended partition instead of a file system.
*
* Flags used when creating a #GduFormatDialog.
*/
typedef enum {
GDU_FORMAT_DIALOG_FLAGS_NONE = 0,
GDU_FORMAT_DIALOG_FLAGS_SIMPLE = (1<<0),
GDU_FORMAT_DIALOG_FLAGS_DISK_UTILITY_BUTTON = (1<<1),
GDU_FORMAT_DIALOG_FLAGS_ALLOW_MSDOS_EXTENDED = (1<<2)
} GduFormatDialogFlags;
/**
* GduDiskSelectionWidgetFlags:
* @GDU_DISK_SELECTION_WIDGET_FLAGS_NONE: No flags set.
* @GDU_DISK_SELECTION_WIDGET_FLAGS_ALLOW_MULTIPLE: Allow multiple disks to be selected.
* @GDU_DISK_SELECTION_WIDGET_FLAGS_ALLOW_DISKS_WITH_INSUFFICIENT_SPACE: If set, disks with less
* space than #GduDiskSelectionWidget:component-size will be eligible for selection.
*
* Flags used when creating a #GduDiskSelectionWidget.
*/
typedef enum {
GDU_DISK_SELECTION_WIDGET_FLAGS_NONE = 0,
GDU_DISK_SELECTION_WIDGET_FLAGS_ALLOW_MULTIPLE = (1<<0),
GDU_DISK_SELECTION_WIDGET_FLAGS_ALLOW_DISKS_WITH_INSUFFICIENT_SPACE = (1<<1)
} GduDiskSelectionWidgetFlags;
/**
* GduAddComponentLinuxMdFlags:
* @GDU_ADD_COMPONENT_LINUX_MD_FLAGS_NONE: No flags set.
* @GDU_ADD_COMPONENT_LINUX_MD_FLAGS_SPARE: The dialog is for selecting a spare.
* @GDU_ADD_COMPONENT_LINUX_MD_FLAGS_EXPANSION: The dialog is for selecting a device used for expansion.
*
* Flags used when creating a #GduAddComponentLinuxMdDialog.
*/
typedef enum {
GDU_ADD_COMPONENT_LINUX_MD_FLAGS_NONE = 0,
GDU_ADD_COMPONENT_LINUX_MD_FLAGS_SPARE = (1<<0),
GDU_ADD_COMPONENT_LINUX_MD_FLAGS_EXPANSION = (1<<1)
} GduAddComponentLinuxMdFlags;
#endif /* GDU_GTK_ENUMS_H */
|