This file is indexed.

/usr/include/gnome-vfsmm-2.6/libgnomevfsmm/monitor-handle.h is in libgnome-vfsmm-2.6-dev 2.26.0-1build1.

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
#ifndef _LIBGNOMEVFSMM_MONITOR_HANDLE_H
#define _LIBGNOMEVFSMM_MONITOR_HANDLE_H

#include <glibmm.h>

/* Copyright 2003 gnome-vfsmm Development Team
 *
 * 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 library 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 library; if not, write to the Free
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#include <libgnomevfsmm/enums.h>
#include <libgnomevfsmm/exception.h>
#include <libgnomevfs/gnome-vfs-monitor.h>


#ifndef DOXYGEN_SHOULD_SKIP_THIS
typedef struct GnomeVFSMonitorHandle GnomeVFSMonitorHandle;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */


namespace Gnome
{

namespace Vfs
{

#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace
{
  
class SignalProxy_Monitor;

}
#endif /* DOXYGEN_SHOULD_SKIP_THIS */

class MonitorHandle
{
public:
  MonitorHandle();
  virtual ~MonitorHandle();

  /// e.g. void on_monitor(const Gnome::Vfs::MonitorHandle& handle, const Glib::ustring& monitor_uri, const Glib::ustring& info_uri, Gnome::Vfs::MonitorEventType type);
  typedef sigc::slot<void, const MonitorHandle&, const Glib::ustring&, const Glib::ustring&, MonitorEventType> SlotMonitor;

#ifdef GLIBMM_EXCEPTIONS_ENABLED
  void add(const Glib::ustring& text_uri, MonitorType type, const SlotMonitor& slot) throw(exception);
  void cancel() throw(exception);
#else
  void add(const Glib::ustring& text_uri, MonitorType type, const SlotMonitor& slot, std::auto_ptr<Gnome::Vfs::exception>& error);
  void cancel(std::auto_ptr<Gnome::Vfs::exception>& error);
#endif //GLIBMM_EXCEPTIONS_ENABLED
  
  GnomeVFSMonitorHandle** gobj_addr();
  GnomeVFSMonitorHandle* gobj();
  const GnomeVFSMonitorHandle* gobj() const;
    
private:

  GnomeVFSMonitorHandle* gobj_;
  SignalProxy_Monitor* proxy_;
};

} // namespace Vfs
} // namespace Gnome

#endif /* _LIBGNOMEVFSMM_MONITOR_HANDLE_H */