[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: prototype.h



  User: sdb     
  Date: 06/07/26 18:56:39

  Modified:    .        prototype.h x_menu.h
  Log:
  Implemented ability to export CSV file of component sheet.
  
  
  
  
  Revision  Changes    Path
  1.11      +15 -0     eda/geda/gaf/gattrib/include/prototype.h
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: prototype.h
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gattrib/include/prototype.h,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- prototype.h	14 Jul 2005 17:29:24 -0000	1.10
  +++ prototype.h	26 Jul 2006 22:56:39 -0000	1.11
  @@ -20,6 +20,10 @@
   int cmp(STRING_LIST *a, STRING_LIST *b);
   STRING_LIST *listsort(STRING_LIST *list, int is_circular, int is_double);
   
  +/* ------------- f_export.c ------------- */
  +void f_export_components(gchar *filename);
  +
  +
   /* ------------- g_register.c ------------- */
   void g_register_funcs(void);
   SCM g_quit(void);
  @@ -88,6 +92,7 @@
   void s_toplevel_menubar_file_open(TOPLEVEL *pr_current);
   void s_toplevel_menubar_file_save(TOPLEVEL *pr_current);
   void s_toplevel_menubar_file_open(TOPLEVEL *pr_current);
  +void s_toplevel_menubar_file_export_csv(TOPLEVEL *pr_current);
   void s_toplevel_menubar_edit_newattrib();
   void s_toplevel_add_new_attrib(gchar *new_attrib_name);
   void s_toplevel_menubar_edit_delattrib();
  @@ -209,6 +214,16 @@
   void x_dialog_about_close_callback(GtkWidget * widget, GtkWidget *window);
   void x_dialog_about_dialog();
   
  +void x_dialog_export_file();
  +int x_dialog_export_file_keypress_callback(GtkWidget * widget, 
  +					 GdkEventKey * event,
  +					 GtkWidget *window);
  +void x_dialog_export_file_close_callback(GtkWidget * widget, 
  +				      GtkWidget *window);
  +void x_dialog_export_file_ok_callback(GtkWidget * widget, 
  +				      GtkWidget *window);
  +
  +
   GtkWidget *x_dialog_create_dialog_box(GtkWidget ** out_vbox,
   				      GtkWidget ** out_action_area);
   void x_dialog_close_window(GtkWidget * window);
  
  
  
  1.6       +14 -0     eda/geda/gaf/gattrib/include/x_menu.h
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_menu.h
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gattrib/include/x_menu.h,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- x_menu.h	14 Jul 2005 17:29:24 -0000	1.5
  +++ x_menu.h	26 Jul 2006 22:56:39 -0000	1.6
  @@ -109,6 +109,20 @@
       "<Separator>"
     },
   
  +  { "/File/Export CSV",
  +    NULL,
  +    s_toplevel_menubar_file_export_csv,
  +    0, 
  +    NULL 
  +  },
  +
  +  { "/File/sep1",    
  +    NULL,    
  +    NULL,
  +    0, 
  +    "<Separator>"
  +  },
  +
     { "/File/Quit",   
       "<control>Q", 
       gattrib_really_quit,
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs