This file is indexed.

/usr/include/QtGStreamer/QGlib/error.h is in libqtgstreamer-dev 1.2.0-4.

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
/*
    Copyright (C) 2010  George Kiagiadakis <kiagiadakis.george@gmail.com>

    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 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/>.
*/
#ifndef QGLIB_ERROR_H
#define QGLIB_ERROR_H

#include "global.h"
#include "type.h"
#include "quark.h"
#include <exception>

namespace QGlib {

/*! \headerfile error.h <QGlib/Error>
 * \brief Wrapper class for GError
 */
class QTGLIB_EXPORT Error : public std::exception
{
public:
    /*! Wraps an existing GError into an Error.
     * \note the constructed Error takes ownership of \a error */
    Error(GError *error = NULL);

    /*! Creates a new Error with the given \a domain, \a code and \a message */
    Error(Quark domain, int code, const QString & message);

    static Error copy(GError *error);

    Error(const Error & other);
    Error & operator=(const Error & other);
    virtual ~Error() throw();

    /*! Use message() instead. This method is provided
     * to implement the std::exception interface. */
    virtual const char* what() const throw();

    /*! \returns the domain of the error.
     * The domain indicates the module where the error has happened. */
    Quark domain() const;

    /*! \returns a code that describes the error */
    int code() const;

    /*! \returns a human-readable message that describes the error */
    QString message() const;

    /*! \returns a pointer to the underlying GError
     * \note no copy is made */
    operator GError *();

    /*! \returns a const pointer to the underlying GError
     * \note no copy is made */
    operator const GError *() const;

private:
    GError *m_error;
};

/*! \relates QGlib::Error */
QTGLIB_EXPORT QDebug operator<<(QDebug dbg, const Error & error);

} //namespace QGlib

QGLIB_REGISTER_TYPE(QGlib::Error)

#endif // QGLIB_ERROR_H