/usr/include/gtkhotkey-1.0/gtk-hotkey-error.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 90 91 92 93 94 95 96 97 98 99 100 | /*
* 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_ERROR_H__
#define __GTK_HOTKEY_ERROR_H__
#include <glib.h>
G_BEGIN_DECLS
/**
* GTK_HOTKEY_LISTENER_ERROR:
*
* Error domain for #GtkHotkeyListener.
*/
#define GTK_HOTKEY_LISTENER_ERROR gtk_hotkey_listener_error_quark()
GQuark gtk_hotkey_listener_error_quark (void);
/**
* GTK_HOTKEY_REGISTRY_ERROR:
*
* Error domain for #GtkHotkeyRegistry.
*/
#define GTK_HOTKEY_REGISTRY_ERROR gtk_hotkey_registry_error_quark()
GQuark gtk_hotkey_registry_error_quark (void);
/**
* GtkHotkeyListenerError:
* @GTK_HOTKEY_LISTENER_ERROR_BIND: An error occured when binding a hotkey with
* the listener
* @GTK_HOTKEY_LISTENER_ERROR_UNBIND: An error occured when unbinding a hotkey
* with the listener
*
* Error codes for #GError<!-- -->s related to #GtkHotkeyListener<!-- -->s
*/
typedef enum
{
GTK_HOTKEY_LISTENER_ERROR_BIND,
GTK_HOTKEY_LISTENER_ERROR_UNBIND,
} GtkHotkeyListenerError;
/**
* GtkHotkeyRegistryError:
* @GTK_HOTKEY_REGISTRY_ERROR_UNKNOWN_APP: The application which is the involved
* in the transaction has not registered
* any hotkeys
* @GTK_HOTKEY_REGISTRY_ERROR_UNKNOWN_KEY: The hotkey key-id (the identifier that
* identifies the hotkey among those
* belonging to an application) is not
* known.
* @GTK_HOTKEY_REGISTRY_ERROR_MALFORMED_MEDIUM: The medium from which to read
* or write is in an unrecoverable
* state. For example a file
* containing syntax errors
* @GTK_HOTKEY_REGISTRY_ERROR_IO: There was some problem with the actual io
* operation. Missing file permissions, disk full,
* etc.
* @GTK_HOTKEY_REGISTRY_ERROR_UNKNOWN: Unexpected and uncharacterized error
* @GTK_HOTKEY_REGISTRY_ERROR_BAD_SIGNATURE: The hotkey signature is not valid.
* See #GtkHotkeyInfo:signature.
* @GTK_HOTKEY_REGISTRY_ERROR_MISSING_APP: A #GtkHotkeyInfo is referring an
* application via its #GtkHotkeyInfo:app-info
* property, but the application can not
* be found.
*
* Error codes for #GError<!-- -->s related to #GtkHotkeyRegistry<!-- -->s
*/
typedef enum
{
GTK_HOTKEY_REGISTRY_ERROR_UNKNOWN_APP,
GTK_HOTKEY_REGISTRY_ERROR_UNKNOWN_KEY,
GTK_HOTKEY_REGISTRY_ERROR_MALFORMED_MEDIUM,
GTK_HOTKEY_REGISTRY_ERROR_IO,
GTK_HOTKEY_REGISTRY_ERROR_UNKNOWN,
GTK_HOTKEY_REGISTRY_ERROR_BAD_SIGNATURE,
GTK_HOTKEY_REGISTRY_ERROR_MISSING_APP,
} GtkHotkeyRegistryError;
G_END_DECLS
#endif /* __GTK_HOTKEY_ERROR_H__ */
|