converter.C File Reference

#include <gtk/gtk.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <fnmatch.h>
#include <string.h>
#include <unistd.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 "converter.h"
#include "gxsm_app.h"
#include "surface.h"
#include "unit.h"
#include "pcs.h"
#include "xsmtypes.h"

Go to the source code of this file.

Defines

#define IMGMAXCOLORS   64
#define WSXM_MAXCHARS   1000
#define UMASK   (S_IRUSR | S_IWUSR | S_IXUSR )

Functions

static void converter_init (void)
static void converter_query (void)
static void converter_about (void)
static void converter_configure (void)
static void converter_cleanup (void)
static void converter_convert (GtkWidget *w, void *data)
GxsmPluginget_gxsm_plugin_info (void)
gint file_error (const gchar *err_msg, const gchar *dir)

Variables

GxsmPlugin converter_pi
static const char * about_text = N_("Gxsm Converter for supported files.")
gchar * select_mask


Define Documentation

#define IMGMAXCOLORS   64
 

Definition at line 70 of file converter.C.

#define UMASK   (S_IRUSR | S_IWUSR | S_IXUSR )
 

Definition at line 72 of file converter.C.

Referenced by file_error().

#define WSXM_MAXCHARS   1000
 

Definition at line 71 of file converter.C.

Referenced by HeaderGetAsNumber(), HeaderGetSize(), HeaderReadLine(), HeaderSetAsFloating(), HeaderSetAsInt(), HeaderWrite(), main(), RemoveLeftAndRightWhitesFromString(), ReplaceStringInString(), WSxM_ImExportFile::SetUnit(), and writeIVs().


Function Documentation

static void converter_about void   )  [static]
 

Definition at line 167 of file converter.C.

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

static void converter_cleanup void   )  [static]
 

Definition at line 191 of file converter.C.

References GxsmPlugin::app, converter_pi, DBG_L2, GnomeAppService::getApp(), N_, and PI_DEBUG.

static void converter_configure void   )  [static]
 

Definition at line 182 of file converter.C.

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

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

Definition at line 200 of file converter.C.

References DBG_L2, PI_DEBUG, and converterControl::run().

Referenced by converter_query().

static void converter_init void   )  [static]
 

Definition at line 159 of file converter.C.

References DBG_L2, and PI_DEBUG.

static void converter_query void   )  [static]
 

Definition at line 130 of file converter.C.

References GxsmPlugin::app, converter_convert(), converter_pi, GnomeAppService::getApp(), N_, GxsmPlugin::name, and GxsmPlugin::status.

gint file_error const gchar *  err_msg,
const gchar *  dir
 

Definition at line 690 of file converter.C.

References DBG_L2, PI_DEBUG, and UMASK.

Referenced by external_converter_Control::dlg_clicked(), and converterControl::dlg_clicked().

GxsmPlugin* get_gxsm_plugin_info void   ) 
 

Definition at line 120 of file converter.C.

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


Variable Documentation

const char* about_text = N_("Gxsm Converter for supported files.") [static]
 

Definition at line 113 of file converter.C.

GxsmPlugin converter_pi
 

Initial value:

 {
  NULL,                   
  NULL,                   
  0,                      
  NULL,                   
  "Converter",
  NULL,                      
  "Converts supported file types faster",
  "Kristan Temme and Thorsten Wagner",
  N_("_Tools/"),
  N_("Converter"),
  NULL,
  "No further info",
  NULL,          
  NULL,          
  converter_init,  
  converter_query,  
  converter_about,
  converter_configure,
  NULL,
  converter_cleanup
}

Definition at line 87 of file converter.C.

Referenced by converter_about(), converter_cleanup(), converter_configure(), converter_query(), and get_gxsm_plugin_info().

gchar* select_mask
 

Definition at line 212 of file converter.C.


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