PsiHDF_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"
#include "psihdf.h"

Go to the source code of this file.

Classes

class  PsiHDF_ImExportFile

Defines

#define IMGMAXCOLORS   64
#define XOFFS(X)   ((char*)(&X) - (char*)(&header))

Functions

static void PsiHDF_im_export_init (void)
static void PsiHDF_im_export_query (void)
static void PsiHDF_im_export_about (void)
static void PsiHDF_im_export_configure (void)
static void PsiHDF_im_export_cleanup (void)
static void PsiHDF_im_export_filecheck_load_callback (gpointer data)
static void PsiHDF_im_export_filecheck_save_callback (gpointer data)
static void PsiHDF_im_export_import_callback (GtkWidget *w, void *data)
static void PsiHDF_im_export_export_callback (GtkWidget *w, void *data)
GxsmPluginget_gxsm_plugin_info (void)

Variables

GxsmPlugin PsiHDF_im_export_pi
static const char * about_text
static const char * file_mask = "*.hdf"


Define Documentation

#define IMGMAXCOLORS   64
 

Definition at line 66 of file PsiHDF_im_export.C.

#define XOFFS  )     ((char*)(&X) - (char*)(&header))
 

Referenced by PsiHDF_ImExportFile::import().


Function Documentation

GxsmPlugin* get_gxsm_plugin_info void   ) 
 

Definition at line 125 of file PsiHDF_im_export.C.

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

static void PsiHDF_im_export_about void   )  [static]
 

Definition at line 213 of file PsiHDF_im_export.C.

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

static void PsiHDF_im_export_cleanup void   )  [static]
 

Definition at line 233 of file PsiHDF_im_export.C.

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

static void PsiHDF_im_export_configure void   )  [static]
 

Definition at line 226 of file PsiHDF_im_export.C.

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

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

Definition at line 663 of file PsiHDF_im_export.C.

References GnomeAppService::file_dialog(), file_mask, gapp, GxsmPlugin::help, GxsmPlugin::name, PsiHDF_im_export_filecheck_save_callback(), and PsiHDF_im_export_pi.

Referenced by PsiHDF_im_export_query().

static void PsiHDF_im_export_filecheck_load_callback gpointer  data  )  [static]
 

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

Referenced by PsiHDF_im_export_import_callback(), and PsiHDF_im_export_query().

static void PsiHDF_im_export_filecheck_save_callback gpointer  data  )  [static]
 

Definition at line 625 of file PsiHDF_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 PsiHDF_im_export_export_callback(), and PsiHDF_im_export_query().

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

Definition at line 654 of file PsiHDF_im_export.C.

References GnomeAppService::file_dialog(), file_mask, gapp, GxsmPlugin::help, GxsmPlugin::name, PsiHDF_im_export_filecheck_load_callback(), and PsiHDF_im_export_pi.

Referenced by PsiHDF_im_export_query().

static void PsiHDF_im_export_init void   )  [static]
 

Definition at line 207 of file PsiHDF_im_export.C.

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

static void PsiHDF_im_export_query void   )  [static]
 

Definition at line 138 of file PsiHDF_im_export.C.

References GxsmPlugin::app, App::ConnectPluginToLoadFileEvent(), App::ConnectPluginToSaveFileEvent(), GnomeAppService::getApp(), GxsmPlugin::help, GxsmPlugin::menuentry, GxsmPlugin::menupath, N_, GxsmPlugin::name, PsiHDF_im_export_export_callback(), PsiHDF_im_export_filecheck_load_callback(), PsiHDF_im_export_filecheck_save_callback(), PsiHDF_im_export_import_callback(), PsiHDF_im_export_pi, and GxsmPlugin::status.


Variable Documentation

const char* about_text [static]
 

Initial value:

 N_("This GXSM plugin allows im- and export of the Park Scientifi HDF file format"
                                   " "
        )

Definition at line 117 of file PsiHDF_im_export.C.

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

Definition at line 121 of file PsiHDF_im_export.C.

GxsmPlugin PsiHDF_im_export_pi
 

Definition at line 82 of file PsiHDF_im_export.C.

Referenced by get_gxsm_plugin_info(), PsiHDF_im_export_about(), PsiHDF_im_export_cleanup(), PsiHDF_im_export_configure(), PsiHDF_im_export_export_callback(), PsiHDF_im_export_import_callback(), PsiHDF_im_export_init(), and PsiHDF_im_export_query().


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