spa4_d2d_im_export.C File Reference

#include <gtk/gtk.h>
#include "config.h"
#include "gxsm/plugin.h"
#include "gxsm/dataio.h"
#include "gxsm/action_id.h"
#include "gxsm/util.h"
#include "batch.h"
#include "fileio.c"

Go to the source code of this file.

Classes

class  spa4_ImExportFile

Defines

#define WORDS_BIGENDIAN   0

Functions

static void spa4_im_export_init (void)
static void spa4_im_export_query (void)
static void spa4_im_export_about (void)
static void spa4_im_export_configure (void)
static void spa4_im_export_cleanup (void)
static void spa4_im_export_filecheck_load_callback (gpointer data)
static void spa4_im_export_filecheck_save_callback (gpointer data)
static void spa4_im_export_import_callback (GtkWidget *w, void *data)
static void spa4_im_export_export_callback (GtkWidget *w, void *data)
GxsmPluginget_gxsm_plugin_info (void)

Variables

GxsmPlugin spa4_im_export_pi
static const char * about_text = N_("GXSM SPA4 'd2d' data file Import/Export Plugin\n\n")
static const char * file_mask = "*.d2d"


Define Documentation

#define WORDS_BIGENDIAN   0
 

Definition at line 65 of file spa4_d2d_im_export.C.


Function Documentation

GxsmPlugin* get_gxsm_plugin_info void   ) 
 

Definition at line 127 of file spa4_d2d_im_export.C.

References GxsmPlugin::description, N_, spa4_im_export_pi, and VERSION.

static void spa4_im_export_about void   )  [static]
 

Definition at line 215 of file spa4_d2d_im_export.C.

References about_text, GxsmPlugin::authors, N_, GxsmPlugin::name, spa4_im_export_pi, and VERSION.

static void spa4_im_export_cleanup void   )  [static]
 

Definition at line 235 of file spa4_d2d_im_export.C.

References GxsmPlugin::app, DBG_L2, GnomeAppService::getApp(), GxsmPlugin::menuentry, GxsmPlugin::menupath, PI_DEBUG, and spa4_im_export_pi.

static void spa4_im_export_configure void   )  [static]
 

Definition at line 228 of file spa4_d2d_im_export.C.

References GxsmPlugin::app, GnomeAppService::message(), and spa4_im_export_pi.

static void spa4_im_export_export_callback GtkWidget *  w,
void *  data
[static]
 

Definition at line 542 of file spa4_d2d_im_export.C.

References GnomeAppService::file_dialog(), file_mask, gapp, GxsmPlugin::help, GxsmPlugin::name, spa4_im_export_filecheck_save_callback(), and spa4_im_export_pi.

Referenced by spa4_im_export_query().

static void spa4_im_export_filecheck_load_callback gpointer  data  )  [static]
 

Definition at line 468 of file spa4_d2d_im_export.C.

References Surface::ActivateFreeChannel(), Surface::ActiveScan, Xsm::data, DBG_L2, Scan::draw(), FIO_NOT_RESPONSIBLE_FOR_THAT_FILE, FIO_OK, gapp, Surface::GetActiveScan(), Scan::GetDataSet(), ID_CH_M_OFF, PI_DEBUG, spa4_ImExportFile::Read(), Surface::SetMode(), App::spm_update_all(), TRUE, and App::xsm.

Referenced by spa4_im_export_import_callback(), and spa4_im_export_query().

static void spa4_im_export_filecheck_save_callback gpointer  data  )  [static]
 

Definition at line 504 of file spa4_d2d_im_export.C.

References DBG_L2, FIO_NOT_RESPONSIBLE_FOR_THAT_FILE, FIO_OK, gapp, Surface::GetActiveScan(), PI_DEBUG, src, and App::xsm.

Referenced by spa4_im_export_export_callback(), and spa4_im_export_query().

static void spa4_im_export_import_callback GtkWidget *  w,
void *  data
[static]
 

Definition at line 533 of file spa4_d2d_im_export.C.

References GnomeAppService::file_dialog(), file_mask, gapp, GxsmPlugin::help, GxsmPlugin::name, spa4_im_export_filecheck_load_callback(), and spa4_im_export_pi.

Referenced by spa4_im_export_query().

static void spa4_im_export_init void   )  [static]
 

Definition at line 209 of file spa4_d2d_im_export.C.

References DBG_L2, GxsmPlugin::name, PI_DEBUG, and spa4_im_export_pi.

static void spa4_im_export_query void   )  [static]
 

Definition at line 140 of file spa4_d2d_im_export.C.

References GxsmPlugin::app, App::ConnectPluginToLoadFileEvent(), App::ConnectPluginToSaveFileEvent(), GnomeAppService::getApp(), GxsmPlugin::help, GxsmPlugin::menuentry, GxsmPlugin::menupath, N_, GxsmPlugin::name, spa4_im_export_export_callback(), spa4_im_export_filecheck_load_callback(), spa4_im_export_filecheck_save_callback(), spa4_im_export_import_callback(), spa4_im_export_pi, and GxsmPlugin::status.


Variable Documentation

const char* about_text = N_("GXSM SPA4 'd2d' data file Import/Export Plugin\n\n") [static]
 

Definition at line 121 of file spa4_d2d_im_export.C.

const char* file_mask = "*.d2d" [static]
 

Definition at line 123 of file spa4_d2d_im_export.C.

GxsmPlugin spa4_im_export_pi
 

Definition at line 86 of file spa4_d2d_im_export.C.

Referenced by get_gxsm_plugin_info(), spa4_im_export_about(), spa4_im_export_cleanup(), spa4_im_export_configure(), spa4_im_export_export_callback(), spa4_im_export_import_callback(), spa4_im_export_init(), and spa4_im_export_query().


Generated on Sat Apr 1 09:04:52 2006 for GXSM by  doxygen 1.4.6