summaryrefslogtreecommitdiff
path: root/src/PSEditor.H
blob: ece78a8be9860af2f6eef798e07d4866b5184284 (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 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