/usr/include/libhud-gtk-1/libhud-gtk/manager.h is in libhud-gtk1-dev 14.10+16.04.20160415-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 | /*
* 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_GTK_MANAGER_H__
#define __HUD_GTK_MANAGER_H__
#include <gtk/gtk.h>
#include <hud.h>
#pragma GCC visibility push(default)
G_BEGIN_DECLS
#define HUD_GTK_TYPE_MANAGER (hud_gtk_manager_get_type ())
#define HUD_GTK_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), HUD_GTK_TYPE_MANAGER, HudGtkManager))
#define HUD_GTK_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), HUD_GTK_TYPE_MANAGER, HudGtkManagerClass))
#define HUD_GTK_IS_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HUD_GTK_TYPE_MANAGER))
#define HUD_GTK_IS_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), HUD_GTK_TYPE_MANAGER))
#define HUD_GTK_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), HUD_GTK_TYPE_MANAGER, HudGtkManagerClass))
typedef struct _HudGtkManager HudGtkManager;
typedef struct _HudGtkManagerClass HudGtkManagerClass;
typedef struct _HudGtkManagerPrivate HudGtkManagerPrivate;
/**
* HudGtkManagerPrivate:
*
* Private data for #HudGtkManager.
*/
/**
* HudGtkManagerClass:
* @parent_class: #HudManagerClass
*
* Class data for #HudGtkManager.
*/
struct _HudGtkManagerClass {
HudManagerClass parent_class;
};
/**
* HudGtkManager:
*
* Helper class to work with #GtkApplication to automatically
* export action groups registered there to the HUD.
*/
struct _HudGtkManager {
HudManager parent;
HudGtkManagerPrivate * priv;
};
GType hud_gtk_manager_get_type (void);
HudGtkManager * hud_gtk_manager_new (GtkApplication * app);
HudActionPublisher * hud_gtk_manager_get_publisher (HudGtkManager * manager,
GVariant * id);
/**
* SECTION:manager
* @short_description: Work with a #GtkApplication to easily export action groups
* @stability: Stable
* @include: libhud-gtk/manager.h
*
* A helper class #HudGtkManager to work with #GtkApplication and
* automatically export the base action group "app." along with the
* window action groups typically "win.". These can then have #HudActionDescription
* objects used to describe them without having to worry about creating
* and managing the #GActionGroup's.
*/
G_END_DECLS
#pragma GCC visibility pop
#endif /* __HUD_GTK_MANAGER_H__ */
|