/usr/include/gnucash/gnc-import-desc-format.h is in gnucash-common 1:2.4.10-6.
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 | #ifndef GNC_IMPORT_DESC_FORMAT_H
#define GNC_IMPORT_DESC_FORMAT_H
#ifdef __cplusplus
//extern "C" {
#endif
#include <glib.h>
#include <glib-object.h>
#define G_TYPE_GNC_IMPORT_DESC_FORMAT gnc_import_desc_format_get_type()
#define GNC_IMPORT_DESC_FORMAT(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_GNC_IMPORT_DESC_FORMAT, GNCImportDescFormat)
#define IS_GNC_IMPORT_DESC_FORMAT(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), G_TYPE_GNC_IMPORT_DESC_FORMAT)
typedef struct _GNCImportDescFormat GNCImportDescFormat;
typedef struct _GNCImportDescFormatClass GNCImportDescFormatClass;
#include "gnc-druid.h"
#include "import-parse.h"
#include "gnc-import-format-cb.h"
#define GNC_IMPORT_DESC_TYPE_FORMAT "import:format"
struct _GNCImportDescFormat
{
GNCDruidProviderDesc parent;
gchar* text;
GncImportFormat (*get_formats)(GNCImportFormatCB*);
const gchar* (*get_sample)(GNCImportFormatCB*);
};
struct _GNCImportDescFormatClass
{
GNCDruidProviderDescClass parent;
};
GType gnc_import_desc_format_get_type(void);
GNCImportDescFormat* gnc_import_desc_format_new(void);
GNCImportDescFormat*
gnc_import_desc_format_new_with_data(const gchar* title,
const gchar* text,
gboolean (*next_cb)(GNCDruidCB*),
GncImportFormat (*get_formats)(GNCImportFormatCB*),
const gchar* (*get_sample)(GNCImportFormatCB*));
void gnc_import_desc_format_set_text(GNCImportDescFormat*,
const gchar* text);
/* methods */
#ifdef __cplusplus
//}
#endif
#endif /* GNC_IMPORT_DESC_FORMAT_H */
|