This file is indexed.

/usr/include/flowcanvas/Connectable.hpp is in libflowcanvas-dev 0.7.1+dfsg0-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
/* This file is part of FlowCanvas.
 * Copyright (C) 2007-2009 David Robillard <http://drobilla.net>
 *
 * FlowCanvas 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 of the License, or (at your option) any later
 * version.
 *
 * FlowCanvas 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 details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA
 */

#ifndef FLOWCANVAS_CONNECTABLE_HPP
#define FLOWCANVAS_CONNECTABLE_HPP

#include <list>

#include <boost/shared_ptr.hpp>

namespace FlowCanvas {

class Connection;


/** An object a Connection can connect to.
 */
class Connectable {
public:
	virtual ~Connectable() {}

	virtual Gnome::Art::Point src_connection_point() = 0;
	virtual Gnome::Art::Point dst_connection_point(const Gnome::Art::Point& src) = 0;
	virtual Gnome::Art::Point connection_point_vector(double dx, double dy) = 0;

	virtual void add_connection(boost::shared_ptr<Connection> c);
	virtual void remove_connection(boost::shared_ptr<Connection> c);

	virtual void move_connections();
	virtual void raise_connections();

	bool is_connected_to(boost::shared_ptr<Connectable> other);

	typedef std::list< boost::weak_ptr<Connection> > Connections;
	Connections& connections() { return _connections; }

protected:
	Connections _connections; ///< needed for dragging
};


} // namespace FlowCanvas

#endif // FLOWCANVAS_CONNECTABLE_HPP