summaryrefslogtreecommitdiffstats
path: root/korn/kornapp.h
blob: 03f7ae4bd4d4acb95e588e0691bc2e90b2ca40d0 (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
35
36
37
38
39
40
41
42
43
44
/*
* kornapp.h -- Declaration of class KornApp.
* Generated by newclass on Sun Apr 22 23:50:49 EST 2001.
*/
#ifndef SSK_KORNAPP_H
#define SSK_KORNAPP_H

#include <tdeuniqueapplication.h>

class KornShell;

/**
* @short KornApp
* @author Sirtaj Singh Kang (taj@kde.org)
* @version $Id$
*/
class KornApp : public TDEUniqueApplication
{
	TQ_OBJECT
  

public:
	/**
	* KornApp Constructor
	*/
	KornApp() : TDEUniqueApplication(), _shell( 0 ), _instanceCount( 0 ) {}

	/**
	* KornApp Destructor
	*/
	virtual ~KornApp(){}

	virtual int newInstance();
	void setShell( KornShell *shell ){ _shell = shell; };
	
private:
	KornShell *_shell;
	int _instanceCount;

	KornApp& operator=( const KornApp& );
	KornApp( const KornApp& );
};

#endif // SSK_KORNAPP_H