Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > by-pkgid > 03dba9756e43ac2594de02e80fbfa250 > files > 113

libgnomevfsmm1.3_6-devel-1.3.5-2mdk.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>libgnomevfsmm: monitor-handle.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.3 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Compound&nbsp;Members</a></div>
<h1>monitor-handle.h</h1><a href="monitor-handle_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef _LIBGNOMEVFSMM_MONITOR_HANDLE_H</span>
00002 <span class="preprocessor"></span><span class="preprocessor">#define _LIBGNOMEVFSMM_MONITOR_HANDLE_H</span>
00003 <span class="preprocessor"></span>
00004 <span class="preprocessor">#include &lt;glibmm.h&gt;</span>
00005 
00006 <span class="comment">/* Copyright 2003 gnome-vfsmm Development Team</span>
00007 <span class="comment"> *</span>
00008 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
00009 <span class="comment"> * modify it under the terms of the GNU Library General Public</span>
00010 <span class="comment"> * License as published by the Free Software Foundation; either</span>
00011 <span class="comment"> * version 2 of the License, or (at your option) any later version.</span>
00012 <span class="comment"> *</span>
00013 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
00014 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
00015 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
00016 <span class="comment"> * Library General Public License for more details.</span>
00017 <span class="comment"> *</span>
00018 <span class="comment"> * You should have received a copy of the GNU Library General Public</span>
00019 <span class="comment"> * License along with this library; if not, write to the Free</span>
00020 <span class="comment"> * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span>
00021 <span class="comment"> */</span>
00022 
00023 <span class="preprocessor">#include &lt;<a class="code" href="enums_8h.html">libgnomevfsmm/enums.h</a>&gt;</span>
00024 <span class="preprocessor">#include &lt;<a class="code" href="exception_8h.html">libgnomevfsmm/exception.h</a>&gt;</span>
00025 <span class="preprocessor">#include &lt;libgnomevfs/gnome-vfs-monitor.h&gt;</span>
00026 
00027 
00028 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
00029 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>GnomeVFSMonitorHandle GnomeVFSMonitorHandle;
00030 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span>
00031 
00032 
00033 <span class="keyword">namespace </span>Gnome
00034 {
00035 
00036 <span class="keyword">namespace </span>Vfs
00037 {
00038 
00039 <span class="preprocessor">#ifndef DOXYGEN_SHOULD_SKIP_THIS</span>
00040 <span class="preprocessor"></span><span class="keyword">namespace</span>
00041 <span class="keyword"></span>{
00042   
00043 <span class="keyword">class </span>SignalProxy_Monitor;
00044 
00045 }
00046 <span class="preprocessor">#endif </span><span class="comment">/* DOXYGEN_SHOULD_SKIP_THIS */</span>
00047 
<a name="l00048"></a><a class="code" href="classGnome_1_1Vfs_1_1MonitorHandle.html">00048</a> <span class="keyword">class </span><a class="code" href="classGnome_1_1Vfs_1_1MonitorHandle.html">MonitorHandle</a>
00049 {
00050 <span class="keyword">public</span>:
00051   <a class="code" href="classGnome_1_1Vfs_1_1MonitorHandle.html#a0">MonitorHandle</a>();
00052   <span class="keyword">virtual</span> <a class="code" href="classGnome_1_1Vfs_1_1MonitorHandle.html#a1">~MonitorHandle</a>();
00053 
<a name="l00055"></a><a class="code" href="classGnome_1_1Vfs_1_1MonitorHandle.html#w0">00055</a>   <span class="keyword">typedef</span> SigC::Slot4&lt;void, const MonitorHandle&amp;, const Glib::ustring&amp;, const Glib::ustring&amp;, MonitorEventType&gt; <a class="code" href="classGnome_1_1Vfs_1_1MonitorHandle.html#w0">SlotMonitor</a>;
00056 
00057   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1Vfs_1_1MonitorHandle.html#a2">add</a>(<span class="keyword">const</span> Glib::ustring&amp; text_uri, MonitorType type, <span class="keyword">const</span> SlotMonitor&amp; slot) <span class="keywordflow">throw</span>(<a class="code" href="classGnome_1_1Vfs_1_1exception.html">exception</a>);
00058   <span class="keywordtype">void</span> <a class="code" href="classGnome_1_1Vfs_1_1MonitorHandle.html#a3">cancel</a>() <span class="keywordflow">throw</span>(<a class="code" href="classGnome_1_1Vfs_1_1exception.html">exception</a>);
00059   
00060   GnomeVFSMonitorHandle** <a class="code" href="classGnome_1_1Vfs_1_1MonitorHandle.html#a4">gobj_addr</a>();
00061   GnomeVFSMonitorHandle* <a class="code" href="classGnome_1_1Vfs_1_1MonitorHandle.html#a5">gobj</a>();
00062   <span class="keyword">const</span> GnomeVFSMonitorHandle* <a class="code" href="classGnome_1_1Vfs_1_1MonitorHandle.html#a5">gobj</a>() <span class="keyword">const</span>;
00063     
00064 <span class="keyword">private</span>:
00065 
00066   GnomeVFSMonitorHandle* gobj_;
00067   SignalProxy_Monitor* proxy_;
00068 };
00069 
00070 } <span class="comment">// namespace Vfs</span>
00071 } <span class="comment">// namespace Gnome</span>
00072 
00073 <span class="preprocessor">#endif </span><span class="comment">/* _LIBGNOMEVFSMM_MONITOR_HANDLE_H */</span>
00074 
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Dec 12 07:51:28 2003 for libgnomevfsmm by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
</a>1.3.3 </small></address>
</body>
</html>