00001 #ifndef IMapcodeRepository_H 00002 #define IMapcodeRepository_H 00003 00004 00005 #include "Mapcode.h" 00006 #include <string> 00007 00008 using namespace std; 00009 00010 00012 00020 class IMapcodeRepository { 00021 public: 00023 virtual void save( const Mapcode * mapcode, const string fileName ) = 0; 00024 00026 virtual Mapcode * load( string filename ) = 0; 00027 }; 00028 00029 #endif