You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/*
|
|
|
|
* 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
|