/usr/include/libspreadsheet-1.12/spreadsheet/undo.h is in gnumeric 1.12.18-2.
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 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef _GNM_UNDO_H_
#define _GNM_UNDO_H_
#include "gnumeric.h"
#include "sheet.h"
#include "colrow.h"
#include "sheet-filter.h"
#include <goffice/goffice.h>
#include <glib-object.h>
G_BEGIN_DECLS
/* ------------------------------------------------------------------------- */
#define GNM_TYPE_UNDO_COLROW_RESTORE_STATE_GROUP (gnm_undo_colrow_restore_state_group_get_type ())
#define GNM_UNDO_COLROW_RESTORE_STATE_GROUP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNM_TYPE_UNDO_COLROW_RESTORE_STATE_GROUP, GnmUndoColrowRestoreStateGroup))
#define GNM_IS_UNDO_COLROW_RESTORE_STATE_GROUP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNM_TYPE_UNDO_COLROW_RESTORE_STATE_GROUP))
GType gnm_undo_colrow_restore_state_group_get_type (void);
typedef struct _GnmUndoColrowRestoreStateGroup GnmUndoColrowRestoreStateGroup;
typedef struct _GnmUndoColrowRestoreStateGroupClass GnmUndoColrowRestoreStateGroupClass;
struct _GnmUndoColrowRestoreStateGroup {
GOUndo base;
Sheet *sheet;
gboolean is_cols;
ColRowIndexList *selection;
ColRowStateGroup *saved_state;
};
struct _GnmUndoColrowRestoreStateGroupClass {
GOUndoClass base;
};
GOUndo *gnm_undo_colrow_restore_state_group_new (Sheet *sheet, gboolean is_cols,
ColRowIndexList *selection,
ColRowStateGroup *saved_state);
/* ------------------------------------------------------------------------- */
#define GNM_TYPE_UNDO_COLROW_SET_SIZES (gnm_undo_colrow_set_sizes_get_type ())
#define GNM_UNDO_COLROW_SET_SIZES(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNM_TYPE_UNDO_COLROW_SET_SIZES, GnmUndoColrowSetSizes))
#define GNM_IS_UNDO_COLROW_SET_SIZES(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNM_TYPE_UNDO_COLROW_SET_SIZES))
GType gnm_undo_colrow_set_sizes_get_type (void);
typedef struct _GnmUndoColrowSetSizes GnmUndoColrowSetSizes;
typedef struct _GnmUndoColrowSetSizesClass GnmUndoColrowSetSizesClass;
struct _GnmUndoColrowSetSizes {
GOUndo base;
Sheet *sheet;
gboolean is_cols;
ColRowIndexList *selection;
int new_size, from, to;
};
struct _GnmUndoColrowSetSizesClass {
GOUndoClass base;
};
GOUndo *gnm_undo_colrow_set_sizes_new (Sheet *sheet, gboolean is_cols,
ColRowIndexList *selection,
int new_size, GnmRange const *r);
/* ------------------------------------------------------------------------- */
#define GNM_TYPE_UNDO_FILTER_SET_CONDITION (gnm_undo_filter_set_condition_get_type ())
#define GNM_UNDO_FILTER_SET_CONDITION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNM_TYPE_UNDO_FILTER_SET_CONDITION, GnmUndoFilterSetCondition))
#define GNM_IS_UNDO_FILTER_SET_CONDITION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNM_TYPE_UNDO_FILTER_SET_CONDITION))
GType gnm_undo_filter_set_condition_get_type (void);
typedef struct _GnmUndoFilterSetCondition GnmUndoFilterSetCondition;
typedef struct _GnmUndoFilterSetConditionClass GnmUndoFilterSetConditionClass;
struct _GnmUndoFilterSetCondition {
GOUndo base;
GnmFilter *filter;
unsigned i;
GnmFilterCondition *cond;
};
struct _GnmUndoFilterSetConditionClass {
GOUndoClass base;
};
GOUndo *gnm_undo_filter_set_condition_new (GnmFilter *filter, unsigned i,
GnmFilterCondition *cond,
gboolean retrieve_from_filter);
/* ------------------------------------------------------------------------- */
G_END_DECLS
#endif /* _GNM_UNDO_H_ */
|