/usr/include/unity-gtk-parser/unity-gtk-action-group.h is in libunity-gtk-parser-dev-common 0.0.0+15.04.20150118-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 | /*
* Copyright 2012 Canonical Ltd.
*
* This program 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, version 3 of the License.
*
* This program 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/>.
*
* Authors: Ryan Lortie <desrt@desrt.ca>
* William Hua <william.hua@canonical.com>
*/
#ifndef __UNITY_GTK_ACTION_GROUP_H__
#define __UNITY_GTK_ACTION_GROUP_H__
#include <glib-object.h>
G_BEGIN_DECLS
typedef struct _UnityGtkActionGroup UnityGtkActionGroup;
typedef GObjectClass UnityGtkActionGroupClass;
#define UNITY_GTK_TYPE_ACTION_GROUP (unity_gtk_action_group_get_type ())
#define UNITY_GTK_ACTION_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_GTK_TYPE_ACTION_GROUP, UnityGtkActionGroup))
#define UNITY_GTK_IS_ACTION_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_GTK_TYPE_ACTION_GROUP))
#define UNITY_GTK_ACTION_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_GTK_TYPE_ACTION_GROUP, UnityGtkActionGroupClass))
#define UNITY_GTK_IS_ACTION_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_GTK_TYPE_ACTION_GROUP))
#define UNITY_GTK_ACTION_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_GTK_TYPE_ACTION_GROUP, UnityGtkActionGroupClass))
G_END_DECLS
#include "unity-gtk-menu-shell.h"
G_BEGIN_DECLS
/**
* UnityGtkActionGroup:
*
* Opaque action group collector for #UnityGtkMenuShell.
*/
struct _UnityGtkActionGroup
{
GObject parent_instance;
/*< private >*/
GActionGroup *old_group;
GHashTable *actions_by_name;
GHashTable *names_by_radio_menu_item;
};
GType unity_gtk_action_group_get_type (void);
UnityGtkActionGroup * unity_gtk_action_group_new (GActionGroup *old_group);
void unity_gtk_action_group_connect_shell (UnityGtkActionGroup *group,
UnityGtkMenuShell *shell);
void unity_gtk_action_group_disconnect_shell (UnityGtkActionGroup *group,
UnityGtkMenuShell *shell);
void unity_gtk_action_group_set_debug (gboolean debug);
G_END_DECLS
#endif /* __UNITY_GTK_ACTION_GROUP_H__ */
|