00001 /* Gxsm - Gnome X Scanning Microscopy 00002 * universal STM/AFM/SARLS/SPALEED/... controlling and 00003 * data analysis software 00004 * 00005 * Copyright (C) 2006 The Free Software Foundation 00006 * 00007 * Authors: Thorsten Wagner <stm@users.sf.net> 00008 * 00009 * WWW Home: http://gxsm.sf.net 00010 * 00011 * This program is free software; you can redistribute it and/or modify 00012 * it under the terms of the GNU General Public License as published by 00013 * the Free Software Foundation; either version 2 of the License, or 00014 * (at your option) any later version. 00015 * 00016 * This program is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 * GNU General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU General Public License 00022 * along with this program; if not, write to the Free Software 00023 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. 00024 */ 00025 00026 /* -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 8 c-style: "K&R" -*- */ 00027 00028 #include <gtk/gtk.h> 00029 #include <string.h> 00030 #include <stdlib.h> 00031 #include "config.h" 00032 #include "gxsm/plugin.h" 00033 00034 class external_converter_Data { 00035 00036 public: 00037 external_converter_Data(gchar *src, gchar *dst); 00038 ~external_converter_Data(); 00039 00040 gchar *sourceFile; 00041 gchar *destFile; 00042 gchar *destSuffix; 00043 gchar *converterPath; 00044 gchar *converterOptions; 00045 }; 00046 00047 class external_converter_Control : public DlgBase{ 00048 public: 00049 00050 external_converter_Control(); 00051 ~external_converter_Control(); 00052 00053 void run(); 00054 static void dlg_clicked(GnomeDialog * dialog, gint button_number, external_converter_Control *mic); 00055 external_converter_Data *frontenddata; 00056 GtkWidget *SrcFile, *DestinationPath, *DestinationSuffix, *ConverterPath, *ConverterOptions; 00057 };