2
* Copyright 2012 Canonical Ltd.
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
6
* published by the Free Software Foundation.
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.
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/>.
17
* Lars Uebernickel <lars.uebernickel@canonical.com>
20
#ifndef __g_tuple_action_h__
21
#define __g_tuple_action_h__
25
#define G_TYPE_TUPLE_ACTION (g_tuple_action_get_type ())
26
#define G_TUPLE_ACTION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_TUPLE_ACTION, GTupleAction))
27
#define G_IS_TUPLE_ACTION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_TUPLE_ACTION))
29
typedef struct _GTupleAction GTupleAction;
31
GType g_tuple_action_get_type (void) G_GNUC_CONST;
33
GTupleAction * g_tuple_action_new (const gchar *name,
34
GVariant *initial_state);
36
void g_tuple_action_set_child (GTupleAction *action,