/usr/include/libgoffice-0.8/goffice/app/io-context-priv.h is in libgoffice-0.8-dev 0.8.17-8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef GO_IO_CONTEXT_PRIV_H
#define GO_IO_CONTEXT_PRIV_H
#include <goffice/app/io-context.h>
#include <goffice/app/error-info.h>
#include <goffice/app/go-cmd-context-impl.h>
G_BEGIN_DECLS
#define GO_IO_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GO_TYPE_IO_CONTEXT, GOIOContextClass))
#define GO_IS_IO_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GO_TYPE_IO_CONTEXT))
typedef enum {
GO_PROGRESS_HELPER_NONE,
GO_PROGRESS_HELPER_COUNT,
GO_PROGRESS_HELPER_VALUE,
GO_PROGRESS_HELPER_LAST
} GOProgressHelperType;
typedef struct {
GOProgressHelperType helper_type;
union {
struct {
gchar *start;
gint size;
} mem;
struct {
gint total, last, current;
gint step;
} count;
struct {
gint total, last;
gint step;
} value;
struct {
gint n_elements, last, current;
gint step;
} workbook;
} v;
} GOProgressHelper;
typedef struct {
double min, max;
} GOProgressRange;
struct _GOIOContext {
GObject base;
GOCmdContext *impl;
GSList *info; /* GSList of GOErrorInfo in reverse order */
gboolean error_occurred;
gboolean warning_occurred;
GList *progress_ranges;
double progress_min, progress_max;
gdouble last_progress;
gdouble last_time;
GOProgressHelper helper;
gboolean exec_main_loop;
};
struct _GOIOContextClass {
GObjectClass base;
void (*set_num_files) (GOIOContext *ioc, guint count);
void (*processing_file) (GOIOContext *ioc, char const *name);
};
G_END_DECLS
#endif /* GO_IO_CONTEXT_PRIV_H */
|