1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
6 * Copyright (C) 1999, 2000 Eazel, Inc.
8 * Nautilus is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 * Author: John Sullivan <sullivan@eazel.com>
25 /* nautilus-signaller.h: Class to manage nautilus-wide signals that don't
26 * correspond to any particular object.
29 #ifndef NAUTILUS_SIGNALLER_H
30 #define NAUTILUS_SIGNALLER_H
32 #include <glib-object.h>
34 /* NautilusSignaller is a class that manages signals between
35 disconnected Nautilus code. Nautilus objects connect to these signals
36 so that other objects can cause them to be emitted later, without
37 the connecting and emit-causing objects needing to know about each
38 other. It seems a shame to have to invent a subclass and a special
39 object just for this purpose. Perhaps there's a better way to do
43 /* Get the one and only NautilusSignaller to connect with or emit signals for */
44 GObject
*nautilus_signaller_get_current (void);
46 #endif /* NAUTILUS_SIGNALLER_H */