/usr/include/Qt5GStreamer/QGlib/global.h is in libqt5gstreamer-dev 1.2.0-3.
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 | /*
Copyright (C) 2009-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_GLOBAL_H
#define QGLIB_GLOBAL_H
// workaround for https://bugreports.qt-project.org/browse/QTBUG-22829
#if defined(Q_MOC_RUN) && !defined(BOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
#define BOOST_TT_HAS_OPERATOR_HPP_INCLUDED
#endif
#include <QtCore/QtGlobal>
#include <boost/config.hpp>
/* defined by cmake when building this library */
#if defined(QtGLib_EXPORTS) || defined(Qt5GLib_EXPORTS)
# define QTGLIB_EXPORT Q_DECL_EXPORT
#else
# define QTGLIB_EXPORT Q_DECL_IMPORT
#endif
#if !defined(Q_OS_WIN) && !defined(Q_CC_NOKIAX86) && \
!defined(Q_CC_RVCT) && defined(QT_VISIBILITY_AVAILABLE)
# define QTGLIB_NO_EXPORT __attribute__((visibility("hidden")))
#else
# define QTGLIB_NO_EXPORT
#endif
typedef struct _GValue GValue;
typedef struct _GParamSpec GParamSpec;
typedef struct _GClosure GClosure;
typedef struct _GObject GObject;
typedef struct _GError GError;
namespace QGlib {
class Error;
class Value;
class Quark;
class Type;
class Signal;
class SignalHandler;
template <class T> class RefPointer;
class ParamSpec;
typedef RefPointer<ParamSpec> ParamSpecPtr;
class Object;
typedef RefPointer<Object> ObjectPtr;
} //namespace QGlib
#define QGLIB_WRAPPER_DECLARATION_MACRO(CppClass, CClass, CNamespace, FakeSuperClass) \
public: \
typedef CNamespace##CClass CType; \
protected: \
CppClass() {} \
CppClass(const CppClass &); \
CppClass & operator=(const CppClass &); \
~CppClass() {} \
friend QGlib::RefCountedObject* FakeSuperClass##_new(void*); \
private:
#define QGLIB_WRAPPER(Class) \
QGLIB_WRAPPER_DECLARATION_MACRO(Class, Class, G, Class)
#define QGLIB_WRAPPER_DIFFERENT_C_CLASS(Class, CClass) \
QGLIB_WRAPPER_DECLARATION_MACRO(Class, CClass, G, Class)
#if !defined(BOOST_NO_STATIC_ASSERT) //we have c++0x static_assert
# define QGLIB_STATIC_ASSERT(expr, message) static_assert(expr, message)
# define QGLIB_HAVE_CXX0X_STATIC_ASSERT 1
#else
# include <boost/static_assert.hpp>
# define QGLIB_STATIC_ASSERT(expr, message) BOOST_STATIC_ASSERT(expr)
#endif
//check for the C++0x features that we need
#if !defined(BOOST_NO_VARIADIC_TEMPLATES) && !defined(BOOST_NO_RVALUE_REFERENCES)
# define QGLIB_HAVE_CXX0X 1
#else
# define QGLIB_HAVE_CXX0X 0
#endif
#endif
|