OSDN Git Service

Initial commit
[wordring-tm/wordring-tm.git] / utility / userdata.h
1 #ifndef USERDATA_H
2 #define USERDATA_H
3
4 #include <memory>
5
6 struct UserData
7 {
8         typedef std::shared_ptr<UserData> pointer;
9         enum Type : int { User = 1000, };
10
11         virtual ~UserData() { }
12         virtual int type() const { return User; }
13 };
14
15 #endif // USERDATA_H