gmeyer_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 <zlib.h>

Go to the source code of this file.

Classes

class  gmeyer_ImExportFile

Defines

#define IMGMAXCOLORS   64

Functions

static void gmeyer_im_export_init (void)
static void gmeyer_im_export_query (void)
static void gmeyer_im_export_about (void)
static void gmeyer_im_export_configure (void)
static void gmeyer_im_export_cleanup (void)
static void gmeyer_im_export_filecheck_load_callback (gpointer data)
static void gmeyer_im_export_filecheck_save_callback (gpointer data)
static void gmeyer_im_export_import_callback (GtkWidget *w, void *data)
static void gmeyer_im_export_export_callback (GtkWidget *w, void *data)
GxsmPluginget_gxsm_plugin_info (void)

Variables

GxsmPlugin gmeyer_im_export_pi
static const char * about_text
static const char * file_mask = "*.dat"


Define Documentation

#define IMGMAXCOLORS   64
 

Definition at line 328 of file gmeyer_im_export.C.


Function Documentation

GxsmPlugin* get_gxsm_plugin_info void   ) 
 

Definition at line 387 of file gmeyer_im_export.C.

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

static void gmeyer_im_export_about void   )  [static]
 

Definition at line 475 of file gmeyer_im_export.C.

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

static void gmeyer_im_export_cleanup void   )  [static]
 

Definition at line 495 of file gmeyer_im_export.C.

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

static void gmeyer_im_export_configure void   )  [static]
 

Definition at line 488 of file gmeyer_im_export.C.

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

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

Definition at line 1234 of file gmeyer_im_export.C.

References GnomeAppService::file_dialog(), file_mask, gapp, gmeyer_im_export_filecheck_save_callback(), gmeyer_im_export_pi, GxsmPlugin::help, and GxsmPlugin::name.

Referenced by gmeyer_im_export_query().

static void gmeyer_im_export_filecheck_load_callback gpointer  data  )  [static]
 

Definition at line 1160 of file gmeyer_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, gmeyer_ImExportFile::Read(), Surface::SetMode(), App::spm_update_all(), TRUE, and App::xsm.

Referenced by gmeyer_im_export_import_callback(), and gmeyer_im_export_query().

static void gmeyer_im_export_filecheck_save_callback gpointer  data  )  [static]
 

Definition at line 1196 of file gmeyer_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 gmeyer_im_export_export_callback(), and gmeyer_im_export_query().

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

Definition at line 1225 of file gmeyer_im_export.C.

References GnomeAppService::file_dialog(), file_mask, gapp, gmeyer_im_export_filecheck_load_callback(), gmeyer_im_export_pi, GxsmPlugin::help, and GxsmPlugin::name.

Referenced by gmeyer_im_export_query().

static void gmeyer_im_export_init void   )  [static]
 

Definition at line 469 of file gmeyer_im_export.C.

References DBG_L2, and PI_DEBUG.

static void gmeyer_im_export_query void   )  [static]
 

Definition at line 400 of file gmeyer_im_export.C.

References GxsmPlugin::app, App::ConnectPluginToLoadFileEvent(), App::ConnectPluginToSaveFileEvent(), GnomeAppService::getApp(), gmeyer_im_export_export_callback(), gmeyer_im_export_filecheck_load_callback(), gmeyer_im_export_filecheck_save_callback(), gmeyer_im_export_import_callback(), gmeyer_im_export_pi, GxsmPlugin::help, GxsmPlugin::menuentry, GxsmPlugin::menupath, N_, GxsmPlugin::name, and GxsmPlugin::status.


Variable Documentation

const char* about_text [static]
 

Initial value:

 N_("Gxsm G.Meyer STMAFM Data File Import/Export Plugin\n\n"
                                   " "
        )

Definition at line 379 of file gmeyer_im_export.C.

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

Definition at line 383 of file gmeyer_im_export.C.

GxsmPlugin gmeyer_im_export_pi
 

Definition at line 344 of file gmeyer_im_export.C.

Referenced by get_gxsm_plugin_info(), gmeyer_im_export_about(), gmeyer_im_export_cleanup(), gmeyer_im_export_configure(), gmeyer_im_export_export_callback(), gmeyer_im_export_import_callback(), and gmeyer_im_export_query().


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