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.
|
|
#ifndef __GUICLASS_H_INCL__
#define __GUICLASS_H_INCL__
#include "gui.h"
/**
* TODO: Add class description * * @author gagua */
class guiClass { public: // Method to fetch singleton instance.
static guiClass* getInstance(); static void init( int argc, char *argv[] ); // Destructor
virtual ~guiClass(); QApplication *getApp(void); protected: // Constructor - protected so users cannot call it.
guiClass();
private: int m_nScreenCount; int m_nABI; int m_nAPI; double m_dVersion; // private static member referencing the single instance of the object
// TODO: Replace guiClass with the type of object you want to
// return the single instance of
static guiClass* _instance;
// Copy constructor
// Declared but not defined to prevent auto-generated
// copy constructor. Refer to "Effective C++" by Meyers
guiClass(const guiClass& src);
// Assignment operator
// Declared but not defined to prevent auto-generated
// assignment operator. Refer to "Effective C++" by Meyers
guiClass& operator=(const guiClass& src);
};
#endif // __GUICLASS_H_INCL__
|