Changeset 1536
- Timestamp:
- Jun 4, 2008, 9:07:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/NetworkCallback.h
r1534 r1536 7 7 public: 8 8 virtual void call() = 0; 9 virtual ~NetworkCallbackBase() {} 9 10 }; 10 11 … … 14 15 public: 15 16 NetworkCallback(T* object, void (T::*function) (void)) : object_(object), function_(function) {} 17 virtual ~NetworkCallback() {} 16 18 virtual void call() 17 19 { (this->object_->*function_)(); }
Note: See TracChangeset
for help on using the changeset viewer.