1 #ifndef __drvJAVA_h
2 #define __drvJAVA_h
3 
4 /*
5    drvsampl.h : This file is part of pstoedit
6    Class declaration for a sample output driver with no additional attributes
7    and methods (minimal interface)
8 
9    Copyright (C) 1993 - 2014 Wolfgang Glunz, wglunz35_AT_pstoedit.net
10 
11     This program is free software; you can redistribute it and/or modify
12     it under the terms of the GNU General Public License as published by
13     the Free Software Foundation; either version 2 of the License, or
14     (at your option) any later version.
15 
16     This program is distributed in the hope that it will be useful,
17     but WITHOUT ANY WARRANTY; without even the implied warranty of
18     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19     GNU General Public License for more details.
20 
21     You should have received a copy of the GNU General Public License
22     along with this program; if not, write to the Free Software
23     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 
25 */
26 
27 #include "drvbase.h"
28 
29 class drvJAVA : public drvbase {
30 
31 public:
32 
33 	derivedConstructor(drvJAVA);
34 	~drvJAVA(); // Destructor
35 	class DriverOptions : public ProgramOptions {
36 	public:
37 		OptionT < RSString, RSStringValueExtractor> jClassName;
DriverOptions()38 		DriverOptions():
39 			jClassName(true,"java class name","string",0,"name of java class to generate",0,(const char *)"PSJava")
40 		{
41 			ADD(jClassName);
42 		}
43 	}*options;
44 
45 #include "drvfuncs.h"
46 	void show_text(const TextInfo & textInfo);
47 
48 private:
49 	void print_coords();
50 //	const char * jClassName;
51 
52 };
53 
54 #endif
55 
56