This file is indexed.

/usr/include/cwidget/widgets/bin.h is in libcwidget-dev 0.5.16-3.1ubuntu1.

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
// bin.h        -*-c++-*-
//
//  Generic stuff for a container that can only handle one child.

#ifndef BIN_H
#define BIN_H

#include "passthrough.h"

#include <sigc++/connection.h>

namespace cwidget
{
  namespace widgets
  {
    class bin : public passthrough
    {
      widget_ref subwidget;

      // These are unfortunate necessities; when a widget is /removed/
      // (but not destroyed), it is necessary to delete the connections to
      // it.  :-(
      sigc::connection show_conn, hide_conn;

      // right now these just show or hide the bin itself
      void show_widget(const widget_ref &w);
      void hide_widget(const widget_ref &w);

      void show_widget_bare(widget &w);
      void hide_widget_bare(widget &w);

    protected:
      bin();

    public:
      virtual ~bin();

      void set_subwidget(const util::ref_ptr<widget> &w);
      void set_subwidget(widget &w)
      {
	set_subwidget(util::ref_ptr<widget>(&w));
      }

      widget_ref get_subwidget() {return subwidget;}

      void destroy();

      virtual void show_all();

      virtual void add_widget(const widget_ref &w);
      virtual void rem_widget(const widget_ref &w);

      widget_ref get_focus();

      void paint(const style &st);
    };
  }
}

#endif