Back to index

indicator-appmenu  12.10.0
gactionmuxer.h
Go to the documentation of this file.
00001 /*
00002  * Copyright © 2011 Canonical Limited
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2 of the licence, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
00016  *
00017  * Author: Ryan Lortie <desrt@desrt.ca>
00018  */
00019 
00020 #ifndef __G_ACTION_MUXER_H__
00021 #define __G_ACTION_MUXER_H__
00022 
00023 #include <gio/gio.h>
00024 
00025 G_BEGIN_DECLS
00026 
00027 #define G_TYPE_ACTION_MUXER                                 (g_action_muxer_get_type ())
00028 #define G_ACTION_MUXER(inst)                                (G_TYPE_CHECK_INSTANCE_CAST ((inst),                     \
00029                                                              G_TYPE_ACTION_MUXER, GActionMuxer))
00030 #define G_IS_ACTION_MUXER(inst)                             (G_TYPE_CHECK_INSTANCE_TYPE ((inst),                     \
00031                                                              G_TYPE_ACTION_MUXER))
00032 
00033 typedef struct _GActionMuxer                                GActionMuxer;
00034 
00035 G_GNUC_INTERNAL
00036 GType                   g_action_muxer_get_type                         (void);
00037 G_GNUC_INTERNAL
00038 GActionMuxer *          g_action_muxer_new                              (void);
00039 
00040 G_GNUC_INTERNAL
00041 void                    g_action_muxer_insert                           (GActionMuxer *muxer,
00042                                                                          const gchar  *prefix,
00043                                                                          GActionGroup *group);
00044 
00045 G_GNUC_INTERNAL
00046 void                    g_action_muxer_remove                           (GActionMuxer *muxer,
00047                                                                          const gchar  *prefix);
00048 
00049 G_END_DECLS
00050 
00051 #endif /* __G_ACTION_MUXER_H__ */