This file is indexed.

/usr/include/gpointing-device-settings/gpds-ui.h is in libgpds-dev 1.5.1-6.

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
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 *  Copyright (C) 2009 Hiroyuki Ikezoe  <poincare@ikezoe.net>
 *
 *  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 3 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 program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

#ifndef __GPDS_UI_H__
#define __GPDS_UI_H__

#include <glib-object.h>
#include <gtk/gtk.h>

G_BEGIN_DECLS

#define GPDS_UI_ERROR           (gpds_ui_error_quark())

#define GPDS_TYPE_UI            (gpds_ui_get_type ())
#define GPDS_UI(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GPDS_TYPE_UI, GpdsUI))
#define GPDS_UI_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GPDS_TYPE_UI, GpdsUIClass))
#define GPDS_IS_UI(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GPDS_TYPE_UI))
#define GPDS_IS_UI_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GPDS_TYPE_UI))
#define GPDS_UI_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), GPDS_TYPE_UI, GpdsUIClass))

typedef enum
{
    GPDS_UI_ERROR_NO_UI_FILE,
    GPDS_UI_ERROR_NO_WIDGET
} GpdsUIError;

typedef struct _GpdsUI GpdsUI;
typedef struct _GpdsUIClass GpdsUIClass;

struct _GpdsUI
{
    GObject parent;
};

struct _GpdsUIClass
{
    GObjectClass parent_class;

    gboolean   (*is_available)          (GpdsUI *ui, GError **error);
    gboolean   (*build)                 (GpdsUI *ui, GError **error);
    GtkWidget *(*get_content_widget)    (GpdsUI *ui, GError **error);
    GdkPixbuf *(*get_icon_pixbuf)       (GpdsUI *ui, GError **error);
};

gboolean     gpds_uis_load                (void);
gboolean     gpds_uis_unload              (void);
GList       *gpds_uis_get_names           (void);

GQuark       gpds_ui_error_quark          (void);
GType        gpds_ui_get_type             (void) G_GNUC_CONST;
GpdsUI      *gpds_ui_new                  (const gchar *type_name,
                                           const gchar *first_property,
                                           ...);
gboolean     gpds_ui_is_available         (GpdsUI *ui, GError **error);
gboolean     gpds_ui_build                (GpdsUI *ui, GError **error);
GtkWidget   *gpds_ui_get_content_widget   (GpdsUI *ui, GError **error);
GdkPixbuf   *gpds_ui_get_icon_pixbuf      (GpdsUI *ui, GError **error);
GtkBuilder  *gpds_ui_get_builder          (GpdsUI *ui);
GObject     *gpds_ui_get_ui_object_by_name(GpdsUI *ui, const gchar *name);
const gchar *gpds_ui_get_device_name      (GpdsUI *ui);
void         gpds_ui_set_gconf_bool       (GpdsUI *ui,
                                           const gchar *key,
                                           gboolean value);
gboolean     gpds_ui_get_gconf_bool       (GpdsUI *ui,
                                           const gchar *key,
                                           gboolean *value);
void         gpds_ui_set_gconf_int        (GpdsUI *ui,
                                           const gchar *key,
                                           gboolean value);
gboolean     gpds_ui_get_gconf_int        (GpdsUI *ui,
                                           const gchar *key,
                                           gboolean *value);
void         gpds_ui_set_gconf_float      (GpdsUI *ui,
                                           const gchar *key,
                                           gdouble value);
gboolean     gpds_ui_get_gconf_float      (GpdsUI *ui,
                                           const gchar *key,
                                           gdouble *value);
void         gpds_ui_set_gconf_string     (GpdsUI *ui,
                                           const gchar *key,
                                           const gchar *value);
gboolean     gpds_ui_get_gconf_string     (GpdsUI *ui,
                                           const gchar *key,
                                           gchar **value);

G_END_DECLS

#endif /* __GPDS_UI_H__ */
/*
vi:ts=4:nowrap:ai:expandtab:sw=4
*/