2 #ifndef _GLIBMM_EXCEPTIONHANDLER_H
3 #define _GLIBMM_EXCEPTIONHANDLER_H
5 /* $Id: exceptionhandler.h 291 2006-05-12 08:08:45Z murrayc $ */
9 * Copyright 2002 The gtkmm Development Team
11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Library General Public
13 * License as published by the Free Software Foundation; either
14 * version 2 of the License, or (at your option) any later version.
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Library General Public License for more details.
21 * You should have received a copy of the GNU Library General Public
22 * License along with this library; if not, write to the Free
23 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 #include <sigc++/sigc++.h>
27 #include <glibmmconfig.h>
29 #ifdef GLIBMM_EXCEPTIONS_ENABLED
34 /** Specify a slot to be called when an exception is thrown by a signal handler.
36 sigc::connection add_exception_handler(const sigc::slot<void>& slot);
38 #ifndef DOXYGEN_SHOULD_SKIP_THIS
40 void exception_handlers_invoke() throw();
45 #endif //GLIBMM_EXCEPTIONS_ENABLED
47 #endif /* _GLIBMM_EXCEPTIONHANDLER_H */