libgnomevfsmm  2.26.0
private.h
Go to the documentation of this file.
1 /* Copyright 2003 gnome-vfsmm Development Team
2  *
3  * This library is free software; you can redistribute it and/or
4  * modify it under the terms of the GNU Lesser General Public
5  * License as published by the Free Software Foundation; either
6  * version 2.1 of the License, or (at your option) any later version.
7  *
8  * This library is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  * Lesser General Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public
14  * License along with this library; if not, write to the Free
15  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
16  */
17 
18 
19 #ifndef _LIBGNOMEVFSMM_PRIVATE_H
20 #define _LIBGNOMEVFSMM_PRIVATE_H
21 
22 #include <glibmm.h>
23 
25 #include <libgnomevfs/gnome-vfs-result.h>
26 
27 namespace Gnome
28 {
29 
30 namespace Vfs
31 {
32 
33 #ifdef GLIBMM_EXCEPTIONS_ENABLED
34  void handle_result(GnomeVFSResult result) throw(Gnome::Vfs::exception);
35 #else
36  void handle_result(GnomeVFSResult result, std::auto_ptr<Gnome::Vfs::exception>& error);
37 #endif //GLIBMM_EXCEPTIONS_ENABLED
38 
39 } // namespace Vfs
40 } // namespace Gnome
41 
42 #endif /* _LIBGNOMEVFSMM_PRIVATE_H */
Gnome
Definition: address.h:37
Gnome::Vfs::exception
Definition: exception.h:34
Gnome::Vfs::handle_result
void handle_result(GnomeVFSResult result)
exception.h