This file is indexed.

/usr/include/libhud-2/libhud/manager.h is in libhud2-dev 13.10.1+14.04.20140402-0ubuntu1.

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 © 2012 Canonical Ltd.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of either or both of the following licences:
 *
 * 1) the GNU Lesser General Public License version 3, as published by
 * the Free Software Foundation; and/or
 * 2) the GNU Lesser General Public License version 2.1, 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 applicable version of the GNU Lesser General Public
 * License for more details.
 *
 * You should have received a copy of both the GNU Lesser General Public
 * License version 3 and version 2.1 along with this program.  If not,
 * see <http://www.gnu.org/licenses/>
 *
 * Author: Ted Gould <ted@canonical.com>
 */

#ifndef __HUD_MANAGER_H__
#define __HUD_MANAGER_H__

#pragma GCC visibility push(default)

#include <glib-object.h>

#include "action-publisher.h"

G_BEGIN_DECLS

#define HUD_TYPE_MANAGER            (hud_manager_get_type ())
#define HUD_MANAGER(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), HUD_TYPE_MANAGER, HudManager))
#define HUD_MANAGER_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), HUD_TYPE_MANAGER, HudManagerClass))
#define HUD_IS_MANAGER(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HUD_TYPE_MANAGER))
#define HUD_IS_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), HUD_TYPE_MANAGER))
#define HUD_MANAGER_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), HUD_TYPE_MANAGER, HudManagerClass))

/**
 * HUD_MANAGER_PROP_APPLICATION:
 *
 * Define for the string to lookup HudManager:application.
 */
#define HUD_MANAGER_PROP_APPLICATION  "application"
/**
 * HUD_MANAGER_PROP_APP_ID:
 *
 * Define for the string to lookup HudManager:app-id.
 */
#define HUD_MANAGER_PROP_APP_ID       "app-id"

typedef struct _HudManager        HudManager;
typedef struct _HudManagerClass   HudManagerClass;
typedef struct _HudManagerPrivate HudManagerPrivate;

/**
 * HudManagerClass:
 * @parent_class: The #GObject class
 *
 * Class data for #HudManager
 */
struct _HudManagerClass {
	GObjectClass parent_class;
};

/**
 * HudManager:
 *
 * Instance data for the HUD Manager object.  This object
 * tracks the information exported to the HUD for a specific
 * application.
 */
struct _HudManager {
	GObject parent;
	HudManagerPrivate * priv;
};

GType                   hud_manager_get_type                            (void);

HudManager *            hud_manager_new                                 (const gchar * application_id);

HudManager *            hud_manager_new_for_application                 (GApplication * application);

void                    hud_manager_add_actions                         (HudManager * manager,
                                                                         HudActionPublisher * pub);

void                    hud_manager_remove_actions                      (HudManager * manager,
                                                                         HudActionPublisher * pub);

void                    hud_manager_switch_window_context               (HudManager * manager,
                                                                         HudActionPublisher * pub);

/**
 * SECTION:manager
 * @short_description: Manage data exported to HUD for the application
 * @stability: Stable
 * @include: libhud/manager.h
 *
 * Applications that are exporting data to the HUD can export data
 * for every window or context in the application.  This includes
 * application internal structures like tabs or views on the various
 * data inside the application.  The HUD manager allows for registering
 * and managing all the actions that are exported to the HUD for the
 * application.
 */

G_END_DECLS

#pragma GCC visibility pop

#endif /* __HUD_MANAGER_H__ */