Blame tests/testprintfileoperation.h

Packit 98cdb6
#ifndef __TEST_PRINT_FILE_OPERATION_H__
Packit 98cdb6
#define __TEST_PRINT_FILE_OPERATION_H__
Packit 98cdb6
Packit 98cdb6
#include <gtk/gtk.h>
Packit 98cdb6
Packit 98cdb6
G_BEGIN_DECLS
Packit 98cdb6
Packit 98cdb6
#define TEST_TYPE_PRINT_FILE_OPERATION    (test_print_file_operation_get_type ())
Packit 98cdb6
#define TEST_PRINT_FILE_OPERATION(obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TEST_TYPE_PRINT_FILE_OPERATION, TestPrintFileOperation))
Packit 98cdb6
#define TEST_IS_PRINT_FILE_OPERATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TEST_TYPE_PRINT_FILE_OPERATION))
Packit 98cdb6
Packit 98cdb6
typedef struct _TestPrintFileOperationClass   TestPrintFileOperationClass;
Packit 98cdb6
typedef struct _TestPrintFileOperationPrivate TestPrintFileOperationPrivate;
Packit 98cdb6
typedef struct _TestPrintFileOperation        TestPrintFileOperation;
Packit 98cdb6
Packit 98cdb6
struct _TestPrintFileOperation
Packit 98cdb6
{
Packit 98cdb6
  GtkPrintOperation parent_instance;
Packit 98cdb6
Packit 98cdb6
  /* < private > */
Packit 98cdb6
  char *filename;
Packit 98cdb6
  double font_size;
Packit 98cdb6
  int lines_per_page;
Packit 98cdb6
Packit 98cdb6
  
Packit 98cdb6
  char **lines;
Packit 98cdb6
  int num_lines;
Packit 98cdb6
  int num_pages;
Packit 98cdb6
};
Packit 98cdb6
Packit 98cdb6
struct _TestPrintFileOperationClass
Packit 98cdb6
{
Packit 98cdb6
  GtkPrintOperationClass parent_class;
Packit 98cdb6
};
Packit 98cdb6
Packit 98cdb6
GType                   test_print_file_operation_get_type      (void);
Packit 98cdb6
TestPrintFileOperation *test_print_file_operation_new           (const char             *filename);
Packit 98cdb6
void                    test_print_file_operation_set_font_size (TestPrintFileOperation *op,
Packit 98cdb6
								 double                  points);
Packit 98cdb6
Packit 98cdb6
G_END_DECLS
Packit 98cdb6
Packit 98cdb6
#endif /* __TEST_PRINT_FILE_OPERATION_H__ */