/usr/include/giomm-2.4/giomm/dbuserror.h is in libglibmm-2.4-dev 2.32.1-1.
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 | // -*- c++ -*-
// Generated by gtkmmproc -- DO NOT MODIFY!
#ifndef _GIOMM_DBUSERROR_H
#define _GIOMM_DBUSERROR_H
#include <glibmm/ustring.h>
#include <sigc++/sigc++.h>
// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
/* Copyright (C) 2010 The giomm Development Team
*
* This library 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 2.1 of the License, or (at your option) any later version.
*
* This library 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 library; if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <glibmm/error.h>
namespace Gio
{
namespace DBus
{
//The GMMPROC_EXTRA_NAMESPACE() macro is a hint to generate_wrap_init.pl to put it in the DBus sub-namespace
class Error : public Glib::Error
{
public:
enum Code
{
FAILED,
NO_MEMORY,
SERVICE_UNKNOWN,
NAME_HAS_NO_OWNER,
NO_REPLY,
IO_ERROR,
BAD_ADDRESS,
NOT_SUPPORTED,
LIMITS_EXCEEDED,
ACCESS_DENIED,
AUTH_FAILED,
NO_SERVER,
TIMEOUT,
NO_NETWORK,
ADDRESS_IN_USE,
DISCONNECTED,
INVALID_ARGS,
FILE_NOT_FOUND,
FILE_EXISTS,
UNKNOWN_METHOD,
TIMED_OUT,
MATCH_RULE_NOT_FOUND,
MATCH_RULE_INVALID,
SPAWN_EXEC_FAILED,
SPAWN_FORK_FAILED,
SPAWN_CHILD_EXITED,
SPAWN_CHILD_SIGNALED,
SPAWN_FAILED,
SPAWN_SETUP_FAILED,
SPAWN_CONFIG_INVALID,
SPAWN_SERVICE_INVALID,
SPAWN_SERVICE_NOT_FOUND,
SPAWN_PERMISSIONS_INVALID,
SPAWN_FILE_INVALID,
SPAWN_NO_MEMORY,
UNIX_PROCESS_ID_UNKNOWN,
INVALID_SIGNATURE,
INVALID_FILE_CONTENT,
SELINUX_SECURITY_CONTEXT_UNKNOWN,
ADT_AUDIT_DATA_UNKNOWN,
OBJECT_PATH_IN_USE
};
Error(Code error_code, const Glib::ustring& error_message);
explicit Error(GError* gobject);
Code code() const;
#ifndef DOXYGEN_SHOULD_SKIP_THIS
private:
static void throw_func(GError* gobject);
friend void wrap_init(); // uses throw_func()
#endif //DOXYGEN_SHOULD_SKIP_THIS
};
} //namespace DBus
} // namespace Gio
#endif /* _GIOMM_DBUSERROR_H */
|