/usr/include/gtkhotkey-1.0/gtk-hotkey-info.h is in libgtkhotkey-dev 0.2.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 | /*
* This file is part of GtkHotkey.
* Copyright Mikkel Kamstrup Erlandsen, March, 2008
*
* GtkHotkey 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.
*
* GtkHotkey 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 GtkHotkey. If not, see <http://www.gnu.org/licenses/>.
*/
#if !defined (__GTK_HOTKEY_H__) && !defined (GTK_HOTKEY_COMPILATION)
#error "Only <gtkhotkey.h> can be included directly."
#endif
#ifndef __GTK_HOTKEY_INFO_H__
#define __GTK_HOTKEY_INFO_H__
#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
G_BEGIN_DECLS
#define GTK_HOTKEY_TYPE_INFO (gtk_hotkey_info_get_type ())
#define GTK_HOTKEY_INFO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_HOTKEY_TYPE_INFO, GtkHotkeyInfo))
#define GTK_HOTKEY_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_HOTKEY_TYPE_INFO, GtkHotkeyInfoClass))
#define GTK_HOTKEY_IS_INFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_HOTKEY_TYPE_INFO))
#define GTK_HOTKEY_IS_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_HOTKEY_TYPE_INFO))
#define GTK_HOTKEY_INFO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_HOTKEY_TYPE_INFO, GtkHotkeyInfoClass))
typedef struct _GtkHotkeyInfo GtkHotkeyInfo;
typedef struct _GtkHotkeyInfoClass GtkHotkeyInfoClass;
typedef struct _GtkHotkeyInfoPrivate GtkHotkeyInfoPrivate;
struct _GtkHotkeyInfo {
GObject parent;
GtkHotkeyInfoPrivate * priv;
};
struct _GtkHotkeyInfoClass {
GObjectClass parent;
};
gboolean gtk_hotkey_info_bind (GtkHotkeyInfo* self, GError **error);
gboolean gtk_hotkey_info_unbind (GtkHotkeyInfo* self, GError **error);
gboolean gtk_hotkey_info_is_bound (GtkHotkeyInfo* self);
const gchar* gtk_hotkey_info_get_application_id (GtkHotkeyInfo* self);
const gchar* gtk_hotkey_info_get_key_id (GtkHotkeyInfo* self);
GAppInfo* gtk_hotkey_info_get_app_info (GtkHotkeyInfo* self);
const gchar* gtk_hotkey_info_get_application_id (GtkHotkeyInfo* self);
const gchar* gtk_hotkey_info_get_signature (GtkHotkeyInfo* self);
const gchar* gtk_hotkey_info_get_key_id (GtkHotkeyInfo* self);
const gchar* gtk_hotkey_info_get_description (GtkHotkeyInfo* self);
void gtk_hotkey_info_set_description (GtkHotkeyInfo* self, const gchar *description);
gboolean gtk_hotkey_info_equals (GtkHotkeyInfo *hotkey1, GtkHotkeyInfo *hotkey2, gboolean sloppy_equals);
void gtk_hotkey_info_activated (GtkHotkeyInfo* self, guint event_time);
GtkHotkeyInfo* gtk_hotkey_info_new (const gchar *app_id,
const gchar *key_id,
const gchar *signature,
GAppInfo *app_info);
GType gtk_hotkey_info_get_type (void);
G_END_DECLS
#endif
|