~ubuntu-branches/ubuntu/utopic/trousers/utopic

« back to all changes in this revision

Viewing changes to src/tspi/gtk/support.h

  • Committer: Package Import Robot
  • Author(s): Pierre Chifflier
  • Date: 2012-06-18 22:22:21 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120618222221-m6xg5y53k5poezvq
Tags: 0.3.9-1
* Imported Upstream version 0.3.9
* Refreshed Debian patches
* Removed patch 04-gcc46.patch, not required anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
/*
 
3
 * Licensed Materials - Property of IBM
 
4
 *
 
5
 * trousers - An open source TCG Software Stack
 
6
 *
 
7
 * (C) Copyright International Business Machines Corp. 2004
 
8
 *
 
9
 */
 
10
 
 
11
#ifndef _SUPPORT_H_
 
12
#define _SUPPOR_H_
 
13
 
 
14
/*
 
15
 * DO NOT EDIT THIS FILE - it is generated by Glade.
 
16
 */
 
17
 
 
18
#ifdef HAVE_CONFIG_H
 
19
#  include <config.h>
 
20
#endif
 
21
 
 
22
#include <gtk/gtk.h>
 
23
 
 
24
/*
 
25
 * Standard gettext macros.
 
26
 */
 
27
#ifdef ENABLE_NLS
 
28
#  include <libintl.h>
 
29
#  undef _
 
30
#  define _(String) dgettext (PACKAGE, String)
 
31
#  ifdef gettext_noop
 
32
#    define N_(String) gettext_noop (String)
 
33
#  else
 
34
#    define N_(String) (String)
 
35
#  endif
 
36
#else
 
37
#  define textdomain(String) (String)
 
38
#  define gettext(String) (String)
 
39
#  define dgettext(Domain,Message) (Message)
 
40
#  define dcgettext(Domain,Message,Type) (Message)
 
41
#  define bindtextdomain(Domain,Directory) (Domain)
 
42
#  define _(String) (String)
 
43
#  define N_(String) (String)
 
44
#endif
 
45
 
 
46
 
 
47
/*
 
48
 * Public Functions.
 
49
 */
 
50
 
 
51
/*
 
52
 * This function returns a widget in a component created by Glade.
 
53
 * Call it with the toplevel widget in the component (i.e. a window/dialog),
 
54
 * or alternatively any widget in the component, and the name of the widget
 
55
 * you want returned.
 
56
 */
 
57
GtkWidget*  lookup_widget              (GtkWidget       *widget,
 
58
                                        const gchar     *widget_name);
 
59
 
 
60
 
 
61
/* Use this function to set the directory containing installed pixmaps. */
 
62
void        __tspi_add_pixmap_directory       (const gchar     *directory);
 
63
 
 
64
 
 
65
/*
 
66
 * Private Functions.
 
67
 */
 
68
 
 
69
/* This is used to create the pixmaps used in the interface. */
 
70
GtkWidget*  create_pixmap              (GtkWidget       *widget,
 
71
                                        const gchar     *filename);
 
72
 
 
73
/* This is used to create the pixbufs used in the interface. */
 
74
GdkPixbuf*  create_pixbuf              (const gchar     *filename);
 
75
 
 
76
/* This is used to set ATK action descriptions. */
 
77
void        glade_set_atk_action_description (AtkAction       *action,
 
78
                                              const gchar     *action_name,
 
79
                                              const gchar     *description);
 
80
 
 
81
#endif