~ubuntu-branches/ubuntu/feisty/photoprint/feisty

« back to all changes in this revision

Viewing changes to pp_printoutput.h

  • Committer: Bazaar Package Importer
  • Author(s): Milan Zamazal
  • Date: 2006-09-29 12:18:16 UTC
  • Revision ID: james.westby@ubuntu.com-20060929121816-6t2iz9zaymixd3om
Tags: upstream-0.3.3
ImportĀ upstreamĀ versionĀ 0.3.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __PP_PRINTOUTPUT_H__
 
2
#define __PP_PRINTOUTPUT_H__
 
3
 
 
4
 
 
5
#include <glib.h>
 
6
#include <glib-object.h>
 
7
#include <gtk/gtktable.h>
 
8
#include <gtk/gtkvbox.h>
 
9
#include <gtk/gtkhbox.h>
 
10
#include <gtk/gtkentry.h>
 
11
#include <gtk/gtkcombo.h>
 
12
#include <gtk/gtkspinbutton.h>
 
13
 
 
14
#include <gutenprint/gutenprint.h>
 
15
 
 
16
#include "stpui_widgets/stpui_printerselector.h"
 
17
#include "printoutput.h"
 
18
 
 
19
G_BEGIN_DECLS
 
20
 
 
21
#define PP_PRINTOUTPUT_TYPE                     (pp_printoutput_get_type())
 
22
#define PP_PRINTOUTPUT(obj)                     (G_TYPE_CHECK_INSTANCE_CAST((obj), PP_PRINTOUTPUT_TYPE, pp_PrintOutput))
 
23
#define PP_PRINTOUTPUT_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), PP_PRINTOUTPUT_TYPE, pp_PrintOutputClass))
 
24
#define IS_PP_PRINTOUTPUT(obj)                  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PP_PRINTOUTPUT_TYPE))
 
25
#define IS_PP_PRINTOUTPUT_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), PP_PRINTOUTPUT_TYPE))
 
26
 
 
27
typedef struct _pp_PrintOutput pp_PrintOutput;
 
28
typedef struct _pp_PrintOutputClass pp_PrintOutputClass;
 
29
 
 
30
struct _pp_PrintOutput
 
31
{
 
32
        GtkVBox box;
 
33
        GtkWidget *string;
 
34
        GtkWidget *combo;
 
35
        GtkWidget *printersel;
 
36
        GList *queues;
 
37
        PrintOutput *po;
 
38
};
 
39
 
 
40
 
 
41
struct _pp_PrintOutputClass
 
42
{
 
43
        GtkVBoxClass parent_class;
 
44
 
 
45
        void (*changed)(pp_PrintOutput *book);
 
46
};
 
47
 
 
48
GType pp_printoutput_get_type (void);
 
49
GtkWidget* pp_printoutput_new (PrintOutput *po);
 
50
void pp_printoutput_refresh(pp_PrintOutput *ob);
 
51
 
 
52
G_END_DECLS
 
53
 
 
54
#endif /* __PP_PRINTOUTPUT_H__ */