33 #include <glib/gi18n.h>
35 #include "dialog-utils.h"
45 static void gnc_plugin_bi_import_finalize (GObject *
object);
50 #define PLUGIN_ACTIONS_NAME "gnc-plugin-bi-import-actions"
51 #define PLUGIN_UI_FILENAME "gnc-plugin-bi-import-ui.xml"
53 static GtkActionEntry gnc_plugin_actions [] =
56 {
"ImportMenuAction", NULL, N_(
"_Import"), NULL, NULL, NULL },
57 {
"bi_importAction", NULL, N_(
"Import Bills & Invoices..."), NULL, N_(
"Import bills and invoices from a CSV text file"), G_CALLBACK(gnc_plugin_bi_import_cmd_test) },
59 static guint gnc_plugin_n_actions = G_N_ELEMENTS(gnc_plugin_actions);
71 return GNC_PLUGIN (g_object_new (GNC_TYPE_PLUGIN_BI_IMPORT, (gchar*) NULL));
77 GObjectClass *object_class = G_OBJECT_CLASS (klass);
80 object_class->finalize = gnc_plugin_bi_import_finalize;
83 plugin_class->
plugin_name = GNC_PLUGIN_BI_IMPORT_NAME;
87 plugin_class->
actions = gnc_plugin_actions;
88 plugin_class->
n_actions = gnc_plugin_n_actions;
98 gnc_plugin_bi_import_finalize (GObject *
object)
109 ENTER (
"action %p, main window data %p", action, data);
110 g_message (
"bi_import");
GUI handling for bi-import plugin.
#define G_LOG_DOMAIN
Functions providing the SX List as a plugin page.
#define ENTER(format, args...)
const gchar * ui_filename
const gchar * actions_name
const gchar * plugin_name
Plugin registration of the bi-import module.
#define PLUGIN_ACTIONS_NAME
#define LEAVE(format, args...)
#define PLUGIN_UI_FILENAME
const gchar * QofLogModule