TDE personal information management applications
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.

45 lines
741B

  1. /*
  2. * kornapp.h -- Declaration of class KornApp.
  3. * Generated by newclass on Sun Apr 22 23:50:49 EST 2001.
  4. */
  5. #ifndef SSK_KORNAPP_H
  6. #define SSK_KORNAPP_H
  7. #include <kuniqueapplication.h>
  8. class KornShell;
  9. /**
  10. * @short KornApp
  11. * @author Sirtaj Singh Kang (taj@kde.org)
  12. * @version $Id$
  13. */
  14. class KornApp : public KUniqueApplication
  15. {
  16. Q_OBJECT
  17. public:
  18. /**
  19. * KornApp Constructor
  20. */
  21. KornApp() : KUniqueApplication(), _shell( 0 ), _instanceCount( 0 ) {}
  22. /**
  23. * KornApp Destructor
  24. */
  25. virtual ~KornApp(){}
  26. virtual int newInstance();
  27. void setShell( KornShell *shell ){ _shell = shell; };
  28. private:
  29. KornShell *_shell;
  30. int _instanceCount;
  31. KornApp& operator=( const KornApp& );
  32. KornApp( const KornApp& );
  33. };
  34. #endif // SSK_KORNAPP_H