~jbicha/hud/build-depend-on-valac-not-gir

« back to all changes in this revision

Viewing changes to src/action-muxer.h

  • Committer: Tarmac
  • Author(s): Ted Gould, Pete Woods, Antti Kaijanmäki, Ted Gould, Albert Astals, Ryan Lortie, Łukasz 'sil2100' Zemczak, Albert Astals Cid, Mathieu Trudel-Lapierre, Kaleo, Tarmac, Ricardo Salveti de Araujo, Michael Terry, Automatic PS uploader
  • Date: 2013-04-10 16:04:51 UTC
  • mfrom: (227.3.148 phablet)
  • Revision ID: tarmac-20130410160451-o3owpv3zaxulm5of
HUD 2.0 Merge.

Approved by PS Jenkins bot, Mathieu Trudel-Lapierre.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2012 Canonical Ltd.
 
3
 *
 
4
 * This program is free software: you can redistribute it and/or modify it
 
5
 * under the terms of the GNU General Public License version 3, as published
 
6
 * by the Free Software Foundation.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful, but
 
9
 * WITHOUT ANY WARRANTY; without even the implied warranties of
 
10
 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
 
11
 * PURPOSE.  See the GNU General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License along
 
14
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 *
 
16
 * Authors:
 
17
 *     Lars Uebernickel <lars.uebernickel@canonical.com>
 
18
 *     Ryan Lortie <desrt@desrt.ca>
 
19
 */
 
20
 
 
21
#ifndef __G_ACTION_MUXER_H__
 
22
#define __G_ACTION_MUXER_H__
 
23
 
 
24
#include <gio/gio.h>
 
25
 
 
26
#define G_TYPE_ACTION_MUXER    (g_action_muxer_get_type ())
 
27
#define G_ACTION_MUXER(obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_ACTION_MUXER, GActionMuxer))
 
28
#define G_IS_ACTION_MUXER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_ACTION_MUXER))
 
29
 
 
30
typedef struct _GActionMuxer GActionMuxer;
 
31
 
 
32
GType          g_action_muxer_get_type (void) G_GNUC_CONST;
 
33
 
 
34
GActionMuxer * g_action_muxer_new      (void);
 
35
 
 
36
void           g_action_muxer_insert   (GActionMuxer *muxer,
 
37
                                        const gchar  *prefix,
 
38
                                        GActionGroup *group);
 
39
 
 
40
void           g_action_muxer_remove   (GActionMuxer *muxer,
 
41
                                        const gchar  *prefix);
 
42
 
 
43
GActionGroup * g_action_muxer_get      (GActionMuxer *muxer,
 
44
                                        const gchar  *prefix);
 
45
 
 
46
#endif
 
47