YAPOG  0.0.1
Yet Another Pokemon Online Game
IObjectIDLoader.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_IOBJECTIDLOADER_HPP
2 # define YAPOG_IOBJECTIDLOADER_HPP
3 
4 # include "YAPOG/Macros.hpp"
5 
6 namespace yap
7 {
8  struct IIDLoadable;
9 
10  class ID;
11 
13  {
14  virtual ~IObjectIDLoader () {}
15 
16  virtual IIDLoadable* Load (const ID& id) = 0;
17  };
18 } // namespace yap
19 
20 #endif // YAPOG_IOBJECTIDLOADER_HPP