This file is indexed.

/usr/include/libhud-client-2/libhud-client/param.h is in libhud-client2-dev 14.10+17.10.20170619-0ubuntu2.

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
/*
 * Copyright © 2013 Canonical Ltd.
 *
 * This program is free software: you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 3, as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranties of
 * MERCHANTABILITY, SATISFACTORY QUALITY, 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/>.
 *
 * Author: Ted Gould <ted@canonical.com>
 */

#if !defined (_HUD_CLIENT_H_INSIDE) && !defined (HUD_CLIENT_COMPILATION)
#error "Only <hud-client.h> can be included directly."
#endif

#ifndef __HUD_CLIENT_PARAM_H__
#define __HUD_CLIENT_PARAM_H__

#pragma GCC visibility push(default)

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

G_BEGIN_DECLS

#define HUD_CLIENT_TYPE_PARAM            (hud_client_param_get_type ())
#define HUD_CLIENT_PARAM(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), HUD_CLIENT_TYPE_PARAM, HudClientParam))
#define HUD_CLIENT_PARAM_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), HUD_CLIENT_TYPE_PARAM, HudClientParamClass))
#define HUD_CLIENT_IS_PARAM(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HUD_CLIENT_TYPE_PARAM))
#define HUD_CLIENT_IS_PARAM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), HUD_CLIENT_TYPE_PARAM))
#define HUD_CLIENT_PARAM_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), HUD_CLIENT_TYPE_PARAM, HudClientParamClass))

/**
 * HUD_CLIENT_PARAM_SIGNAL_MODEL_READY
 *
 * Signal to indicate when the model is ready
 */
#define HUD_CLIENT_PARAM_SIGNAL_MODEL_READY  "model-ready"

typedef struct _HudClientParam          HudClientParam;
typedef struct _HudClientParamClass     HudClientParamClass;
typedef struct _HudClientParamPrivate   HudClientParamPrivate;

/**
 * HudClientParamPrivate:
 *
 * Private data for #HudClientParam.
 */

/**
 * HudClientParamClass:
 * @parent_class: #GObjectClass
 * @model_ready: Slot for the model-ready signal
 *
 * Class information for #HudClientParam
 */
struct _HudClientParamClass {
	GObjectClass parent_class;

	/*< Private >*/
	void (*model_ready) (HudClientParamClass * param, gpointer user_data);
};

/**
 * HudClientParam:
 *
 * An object that tracks all the of the stuff needed to handle
 * a parameterized dialog of actions.
 */
struct _HudClientParam {
	GObject parent;
	HudClientParamPrivate * priv;
};

GType                  hud_client_param_get_type      (void);

HudClientParam *       hud_client_param_new           (const gchar *     dbus_address,
                                                       const gchar *     prefix,
                                                       const gchar *     base_action,
                                                       const gchar *     action_path,
                                                       const gchar *     model_path,
                                                       gint              model_section);

GActionGroup *         hud_client_param_get_actions   (HudClientParam * param);
GMenuModel *           hud_client_param_get_model     (HudClientParam * param);

void                   hud_client_param_send_reset    (HudClientParam * param);
void                   hud_client_param_send_cancel   (HudClientParam * param);
void                   hud_client_param_send_commit   (HudClientParam * param);

/**
	SECTION:param
	@short_description: Track a parameterized view
	@stability: Unstable
	@include: libhud-client/param.h

	This makes it much easier to interact with the parameterized
	pane of the HUD.  Provides the links to the menu model and the
	actions that should be shown.  Also provides convienience functions
	for resetting it and fun stuff like that.
*/

G_END_DECLS

#pragma GCC visibility pop

#endif