This file is indexed.

/usr/include/BALL/PLUGIN/BALLPlugin.h is in libball1.4-dev 1.4.3~beta1-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
#ifndef BALL_PLUGIN_BALLPLUGIN_H
#define BALL_PLUGIN_BALLPLUGIN_H

#ifndef BALL_COMMON_GLOBAL_H
# include <BALL/COMMON/global.h>
#endif

#include <QtCore/QString>
#include <QtCore/QtPlugin>
#include <QtCore/QVariant>

class QPixmap;
class QDialog;

namespace BALL
{

	class PluginHandler;

	class BALL_EXPORT BALLPlugin
	{
		public:
			virtual ~BALLPlugin() {}

			/**
			 * Returns the name of the plugin
			 *
			 * @return the plugins name
			 */
			virtual QString getName() const = 0;

			/**
			 * Returns a description of the plugin
			 *
			 * @return a description of the plugin
			 */
			virtual QString getDescription() const = 0;

			/**
			 * Get the current state of the plugin.
			 *
			 * @return true if the plugin is initialized and running, false otherwise
			 */
			virtual bool isActive() = 0;

			/**
			 * Activate the plugin.
			 *
			 * @return true if no problems during activation occured, false otherwise
			 */
			virtual bool activate() = 0;

			/**
			 * Deactivate the plugin.
			 *
			 * @return true if no problems during deactivation occured, false otherwise
			 */
			virtual bool deactivate() = 0;
	};
}

template<typename T>
T qobject_cast(BALL::BALLPlugin* plugin)
{
	return qobject_cast<T>(dynamic_cast<QObject*>(plugin));
}

Q_DECLARE_METATYPE(BALL::BALLPlugin*)
Q_DECLARE_INTERFACE(BALL::BALLPlugin, "org.ball-project.Plugin.BALLPlugin/1.0")

#endif //BALL_PLUGIN_BALLPLUGIN_H