This file is indexed.

/usr/include/libkipi/extension.h is in libkipi-dev 4:4.8.2-0ubuntu1.

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
/** ===========================================================
 * @file
 *
 * This file is a part of digiKam project
 * <a href="http://www.digikam.org">http://www.digikam.org</a>
 *
 * @date  2009-11-13
 * @brief export plugin
 *
 * @author Copyright (C) 2009 by Aleix Pol Gonzalez
 *         <a href="mailto:aleixpol at kde dot org">aleixpol at kde dot org</a>
 *
 * This program is free software; you can redistribute it
 * and/or modify it under the terms of the GNU General
 * Public License as published by the Free Software Foundation;
 * either version 2, 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 General Public License for more details.
 *
 * ============================================================ */

#ifndef _EXTENSION_H
#define _EXTENSION_H

// Qt includes

#include <QtDesigner/QAbstractExtensionFactory>

#define KIPI_DECLARE_EXTENSION_INTERFACE_NS(Namespace, IFace, IId)                                                        \
                                                                                                                          \
namespace Namespace                                                                                                       \
{                                                                                                                         \
    const char* const IFace##_iid = IId;                                                                                  \
} /* namespace Namespace */                                                                                               \
                                                                                                                          \
template <> inline Namespace::IFace* qt_extension<Namespace::IFace*>(QAbstractExtensionManager* manager, QObject* object) \
{                                                                                                                         \
    QObject* extension = manager->extension(object, Q_TYPEID(Namespace::IFace));                                          \
    return extension ? static_cast<Namespace::IFace*>(extension->qt_metacast(Namespace::IFace##_iid))                     \
                     : static_cast<Namespace::IFace*>(0);                                                                 \
}                                                                                                                         \

#endif // _EXTENSION_H