2 * Copyright © 2011 Canonical Limited
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the licence, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17 * Author: Ryan Lortie <desrt@desrt.ca>
20 #ifndef __G_ACTION_MUXER_H__
21 #define __G_ACTION_MUXER_H__
27 #define G_TYPE_ACTION_MUXER (g_action_muxer_get_type ())
28 #define G_ACTION_MUXER(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
29 G_TYPE_ACTION_MUXER, GActionMuxer))
30 #define G_IS_ACTION_MUXER(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
33 typedef struct _GActionMuxer GActionMuxer;
36 GType g_action_muxer_get_type (void);
38 GActionMuxer * g_action_muxer_new (void);
41 void g_action_muxer_insert (GActionMuxer *muxer,
46 void g_action_muxer_remove (GActionMuxer *muxer,
50 GActionMuxer * g_action_muxer_get_parent (GActionMuxer *muxer);
53 void g_action_muxer_set_parent (GActionMuxer *muxer,
54 GActionMuxer *parent);
58 #endif /* __G_ACTION_MUXER_H__ */