~indicator-applet-developers/indicator-messages/trunk.13.10

« back to all changes in this revision

Viewing changes to libmessaging-menu/gtupleaction.h

  • Committer: Tarmac
  • Author(s): Lars Uebernickel, Ted Gould, sergio.schvezov at canonical, Sergio Schvezov, Ken VanDine, Renato Araujo Oliveira Filho, Ricardo Mendoza
  • Date: 2013-08-19 16:51:38 UTC
  • mfrom: (327.1.83 consolidate)
  • Revision ID: tarmac-20130819165138-rtvgstpdkoysfshf
Merge in phablet branch.

Approved by PS Jenkins bot, Pete Woods.

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
6
 
 * published 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
 
 */
19
 
 
20
 
#ifndef __g_tuple_action_h__
21
 
#define __g_tuple_action_h__
22
 
 
23
 
#include <gio/gio.h>
24
 
 
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))
28
 
 
29
 
typedef struct _GTupleAction GTupleAction;
30
 
 
31
 
GType           g_tuple_action_get_type     (void) G_GNUC_CONST;
32
 
 
33
 
GTupleAction *  g_tuple_action_new          (const gchar *name,
34
 
                                             GVariant    *initial_state);
35
 
 
36
 
void            g_tuple_action_set_child    (GTupleAction *action,
37
 
                                             gsize         index,
38
 
                                             GVariant     *value);
39
 
 
40
 
#endif