10 #ifndef INCLUDE_FUNAPI_SERVICE_MAP_LOADER_H_ 11 #define INCLUDE_FUNAPI_SERVICE_MAP_LOADER_H_ 13 #include <boost/noncopyable.hpp> 24 typedef string MapData;
25 typedef std::vector<string> MapTagList;
27 struct FUNAPI_DLL_VISIBILITY
Map :
private boost::noncopyable {
37 typedef std::vector<Ptr<Map> > MapList;
40 void (
const Ptr<MapList> &mutable_map_list)> OnMapListDownloaded;
43 void (
const bool &error,
44 const bool &is_map_changed,
45 const Ptr<const MapList> &map_list)> OnMapLoadCompleted;
47 static void LoadAsync(
const OnMapListDownloaded &on_map_list_downloaded,
48 const OnMapLoadCompleted &on_map_load_completed);
49 static const Ptr<const Map> FindMapByMd5(
const string &map_md5);
50 static const Ptr<const MapList> FindMapByTag(
const string &map_tag);
51 static const Ptr<const MapList> GetMapList();
56 #endif // INCLUDE_FUNAPI_SERVICE_MAP_LOADER_H_ Definition: map_loader.h:27
Definition: map_loader.h:21
Class to parse an URI string.
Definition: http_util.h:161
#define DECLARE_CLASS_PTR(CLS)
Utility macro to forward-declare smart pointer types for a given class.
Definition: types.h:89