]> Pileus Git - ~andy/gtk/blob - gtk/gactionmuxer.h
Updated Norwegian bokmål translation
[~andy/gtk] / gtk / gactionmuxer.h
1 /*
2  * Copyright © 2011 Canonical Limited
3  *
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.
8  *
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.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  *
19  * Author: Ryan Lortie <desrt@desrt.ca>
20  */
21
22 #ifndef __G_ACTION_MUXER_H__
23 #define __G_ACTION_MUXER_H__
24
25 #include <gio/gio.h>
26
27 G_BEGIN_DECLS
28
29 #define G_TYPE_ACTION_MUXER                                 (g_action_muxer_get_type ())
30 #define G_ACTION_MUXER(inst)                                (G_TYPE_CHECK_INSTANCE_CAST ((inst),                     \
31                                                              G_TYPE_ACTION_MUXER, GActionMuxer))
32 #define G_IS_ACTION_MUXER(inst)                             (G_TYPE_CHECK_INSTANCE_TYPE ((inst),                     \
33                                                              G_TYPE_ACTION_MUXER))
34
35 typedef struct _GActionMuxer                                GActionMuxer;
36
37 G_GNUC_INTERNAL
38 GType                   g_action_muxer_get_type                         (void);
39 G_GNUC_INTERNAL
40 GActionMuxer *          g_action_muxer_new                              (void);
41
42 G_GNUC_INTERNAL
43 void                    g_action_muxer_insert                           (GActionMuxer *muxer,
44                                                                          const gchar  *prefix,
45                                                                          GActionGroup *group);
46
47 G_GNUC_INTERNAL
48 void                    g_action_muxer_remove                           (GActionMuxer *muxer,
49                                                                          const gchar  *prefix);
50
51 G_END_DECLS
52
53 #endif /* __G_ACTION_MUXER_H__ */