00001 00006 #ifndef PRIP_PRIP_H 00007 #define PRIP_PRIP_H 00008 00009 #define PRIP_NS prip 00010 #define USING_PRIP_NS using namespace prip; 00011 00012 00013 namespace prip { 00014 00019 class NonCopyable 00020 { 00021 protected: 00022 NonCopyable(void) {} 00023 ~NonCopyable(void) {} 00024 private: 00025 NonCopyable(const NonCopyable& other) {} 00026 NonCopyable& operator=(const NonCopyable& other) {return *this;} 00027 }; 00028 00029 } 00030 00031 #endif