~ubuntu-branches/ubuntu/trusty/thunar-volman/trusty-proposed

1.1.2 by Lionel Le Folgoc
Import upstream version 0.3.80
1
/* $Id: tvm-command-entry.h 5215 2008-08-12 08:54:15Z kelnos $ */
1 by Yves-Alexis Perez
Import upstream version 0.1.2
2
/*-
3
 * Copyright (c) 2005-2007 Benedikt Meurer <benny@xfce.org>
4
 *
5
 * This program is free software; you can redistribute it and/or modify it
6
 * under the terms of the GNU General Public License as published by the Free
7
 * Software Foundation; either version 2 of the License, or (at your option)
8
 * any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful, but WITHOUT
11
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13
 * more details.
14
 *
15
 * You should have received a copy of the GNU General Public License along with
16
 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
17
 * Place, Suite 330, Boston, MA  02111-1307  USA
18
 */
19
20
#ifndef __TVM_COMMAND_ENTRY_H__
21
#define __TVM_COMMAND_ENTRY_H__
22
23
#include <exo/exo.h>
24
1.1.2 by Lionel Le Folgoc
Import upstream version 0.3.80
25
G_BEGIN_DECLS
1 by Yves-Alexis Perez
Import upstream version 0.1.2
26
27
typedef struct _TvmCommandEntryClass TvmCommandEntryClass;
28
typedef struct _TvmCommandEntry      TvmCommandEntry;
29
30
#define TVM_TYPE_COMMAND_ENTRY            (tvm_command_entry_get_type ())
31
#define TVM_COMMAND_ENTRY(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), TVM_TYPE_COMMAND_ENTRY, TvmCommandEntry))
32
#define TVM_COMMAND_ENTRY_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), TVM_TYPE_COMMAND_ENTRY, TvmCommandEntryClass))
33
#define TVM_IS_COMMAND_ENTRY(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TVM_TYPE_COMMAND_ENTRY))
34
#define TVM_IS_COMMAND_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TVM_TYPE_COMMAND_ENTRY))
35
#define TVM_COMMAND_ENTRY_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), TVM_TYPE_COMMAND_ENTRY, TvmCommandEntryClass))
36
37
struct _TvmCommandEntryClass
38
{
39
  GtkHBoxClass __parent__;
40
};
41
42
struct _TvmCommandEntry
43
{
44
  GtkHBox    __parent__;
45
  GtkWidget *entry;
46
  GtkWidget *label;
47
  gchar     *command;
48
};
49
50
GType        tvm_command_entry_get_type       (void) G_GNUC_CONST G_GNUC_INTERNAL;
51
52
GtkWidget   *tvm_command_entry_new            (void) G_GNUC_INTERNAL G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
53
GtkWidget   *tvm_command_entry_new_with_label (const gchar     *label) G_GNUC_INTERNAL G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
54
55
const gchar *tvm_command_entry_get_command    (TvmCommandEntry *command_entry) G_GNUC_INTERNAL;
56
void         tvm_command_entry_set_command    (TvmCommandEntry *command_entry,
57
                                               const gchar     *command) G_GNUC_INTERNAL;
58
1.1.2 by Lionel Le Folgoc
Import upstream version 0.3.80
59
G_END_DECLS
1 by Yves-Alexis Perez
Import upstream version 0.1.2
60
61
#endif /* !__TVM_COMMAND_ENTRY_H__ */