Unuk 1.0
src/libUnuk/Static.h
Go to the documentation of this file.
00001 #ifndef _STATIC_H_
00002 #define _STATIC_H_
00003 
00004 /*
00005  * Inheriting from this class will make the class uncopyable.
00006  * It is useful to do this because a lot of the time we won't
00007  * want to be able to copy stuff, like the window or the game class.
00008  *
00009  * I probably chose a bad name for this.
00010  *
00011  */
00012 
00013 class Static {
00014 protected:
00015   Static() {}
00016   ~Static() {}
00017 private:
00018   Static(const Static&);
00019   Static& operator=(const Static &);
00020 };
00021 
00022 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines