// // Created by robin on 8/8/15. // #ifndef PDNS_SLAVE_MAINCLASS_H #define PDNS_SLAVE_MAINCLASS_H #include #include #include class MainClass { public: MainClass(int argc, char* argv[]); int main(); std::shared_ptr getDevice(const std::string& deviceName, std::vector> devices); std::shared_ptr getTag(const std::string& tagUid, std::vector> tags); int mapKeys(std::shared_ptr tag, std::vector keys); int dump(std::shared_ptr tag, std::vector keys); Result> readFile(const std::string& filePath); void printBlockAccessBits(const AccessBitsDbo& accessBits, int block); void printTrailerAccessBits(const AccessBitsDbo& accessBits); void printVersion() const; static void printPercent(int done, int total); private: int _argc; char** _argv; }; #endif //PDNS_SLAVE_MAINCLASS_H