WSxM_io.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/glbvars.h"
#include "plug-ins/hard/sranger_hwi.h"
#include "WSxM_header.h"
#include <netcdf.hh>

Go to the source code of this file.

Classes

class  WSxM_ImExportFile

Defines

#define WSXM_MAXCHARS   1000
#define IS_PICO_AMP   100

Functions

static void WSxM_im_export_init (void)
static void WSxM_im_export_query (void)
static void WSxM_im_export_about (void)
static void WSxM_im_export_configure (void)
static void WSxM_im_export_cleanup (void)
static void WSxM_im_export_filecheck_load_callback (gpointer data)
static void WSxM_im_export_filecheck_save_callback (gpointer data)
static void WSxM_im_export_import_callback (GtkWidget *w, void *data)
static void WSxM_im_export_export_callback (GtkWidget *w, void *data)
GxsmPluginget_gxsm_plugin_info (void)

Variables

DSPControlDSPControlClass
GxsmPlugin WSxM_im_export_pi
static const char * about_text
static const char * file_mask = "*.top"


Define Documentation

#define IS_PICO_AMP   100
 

Definition at line 78 of file WSxM_io.C.

Referenced by WSxM_ImExportFile::SetUnit().

#define WSXM_MAXCHARS   1000
 

Definition at line 77 of file WSxM_io.C.


Function Documentation

GxsmPlugin* get_gxsm_plugin_info void   ) 
 

Definition at line 139 of file WSxM_io.C.

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

static void WSxM_im_export_about void   )  [static]
 

Definition at line 235 of file WSxM_io.C.

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

static void WSxM_im_export_cleanup void   )  [static]
 

Definition at line 255 of file WSxM_io.C.

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

static void WSxM_im_export_configure void   )  [static]
 

Definition at line 248 of file WSxM_io.C.

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

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

Definition at line 944 of file WSxM_io.C.

References GnomeAppService::file_dialog(), file_mask, gapp, GxsmPlugin::help, GxsmPlugin::name, WSxM_im_export_filecheck_save_callback(), and WSxM_im_export_pi.

Referenced by WSxM_im_export_query().

static void WSxM_im_export_filecheck_load_callback gpointer  data  )  [static]
 

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

Referenced by WSxM_im_export_import_callback(), and WSxM_im_export_query().

static void WSxM_im_export_filecheck_save_callback gpointer  data  )  [static]
 

Definition at line 907 of file WSxM_io.C.

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

Referenced by WSxM_im_export_export_callback(), and WSxM_im_export_query().

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

Definition at line 935 of file WSxM_io.C.

References GnomeAppService::file_dialog(), file_mask, gapp, GxsmPlugin::help, GxsmPlugin::name, WSxM_im_export_filecheck_load_callback(), and WSxM_im_export_pi.

Referenced by WSxM_im_export_query().

static void WSxM_im_export_init void   )  [static]
 

Definition at line 229 of file WSxM_io.C.

References DBG_L2, and PI_DEBUG.

static void WSxM_im_export_query void   )  [static]
 

Definition at line 152 of file WSxM_io.C.

References GxsmPlugin::app, App::ConnectPluginToLoadFileEvent(), App::ConnectPluginToSaveFileEvent(), GnomeAppService::getApp(), GxsmPlugin::help, GxsmPlugin::menuentry, GxsmPlugin::menupath, N_, GxsmPlugin::name, GxsmPlugin::status, WSxM_im_export_export_callback(), WSxM_im_export_filecheck_load_callback(), WSxM_im_export_filecheck_save_callback(), WSxM_im_export_import_callback(), and WSxM_im_export_pi.


Variable Documentation

const char* about_text [static]
 

Initial value:

 N_("Gxsm file import/export plugin for WSxM files\n\n"
                                   "This plugin writes in WSxM datafiles."
        )

Definition at line 131 of file WSxM_io.C.

DSPControl* DSPControlClass
 

Definition at line 301 of file DSPControl.C.

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

Definition at line 135 of file WSxM_io.C.

GxsmPlugin WSxM_im_export_pi
 

Definition at line 97 of file WSxM_io.C.

Referenced by get_gxsm_plugin_info(), WSxM_im_export_about(), WSxM_im_export_cleanup(), WSxM_im_export_configure(), WSxM_im_export_export_callback(), WSxM_im_export_import_callback(), and WSxM_im_export_query().


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