File: drgeo_view.h

package info (click to toggle)
drgenius 0.5.15-0.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,676 kB
  • ctags: 2,359
  • sloc: cpp: 14,695; sh: 8,249; ansic: 7,126; xml: 876; makefile: 550; yacc: 318
file content (30 lines) | stat: -rw-r--r-- 772 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

#ifndef DRGEO_VIEW_H
#define DRGEO_VIEW_H

#include <gnome.h>
#include "xmlinclude.h"
#include "gobobjs/drgenius-mdi-child.h"

#ifdef __cplusplus
extern "C" {
#endif				/* __cplusplus */

	gboolean
	drgeo_save_handler (DrGeniusMDIChild * child, char *filename);

// Helper functions to get the name of avalaible macro in the registry
	char *firstMacroName ();
	char *nextMacroName ();
	gboolean saveFigure (GnomeMDIChild * child, xmlNodePtr tree);
	gboolean saveMacro (gchar * name, xmlNodePtr tree);
	gboolean loadMacro (xmlNodePtr macroXml);
	gboolean exportFigureToLatex (GnomeMDIChild * child, 
				      gchar *fileName);
	gboolean exportFigureToPostScript (GnomeMDIChild * child,
				      gchar *fileName);
#ifdef __cplusplus
}

#endif				/* __cplusplus */
#endif