Advertisement
Guest User

console.h

a guest
Oct 8th, 2012
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.48 KB | None | 0 0
  1. #define CONSOLE_H
  2. #include <string>
  3.  
  4. using namespace std;
  5.  
  6. class Console
  7. {
  8.     public:
  9.      
  10.         template <typename T>
  11.         void readObjectData(T& o);
  12.     protected:
  13.     private:
  14.         Console();  // Private so that it can  not be called
  15.         Console(Console const&);             // copy constructor is private
  16.         Console& operator=(Console const&);  // assignment operator is private
  17.         static Console* m_pInstance;
  18.  
  19.        
  20. };
  21.  
  22. #endif // CONSOLE_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement