summaryrefslogtreecommitdiff
path: root/src/PSEditor.H
blob: a4927a5e3834b80b5e343d907bc4a3edde507344 (plain)
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
31
32
33
34
//
// Copyright 2007-2009 Johannes Hofmann <Johannes.Hofmann@gmx.de>
//
// This software may be used and distributed according to the terms
// of the GNU General Public License, incorporated herein by reference.

#ifndef PSEDITOR_H
#define PSEDITOR_H

#include "PSEditWidget.H"

class PSEditor : public PSEditWidget {
	private:
		int tmp_fd;

		int ps_level;

		int handle(int event);

	public: 
		PSEditor(int X,int Y,int W, int H);  

		int open_file(FILE *fp); 

		int open_file(const char *f); 

		int save(FILE *fp);

		int save(const char* savefile);

		int import(char *f); 
};

#endif