1 // Copyright 2017-2017 the nyan authors, LGPLv3+. See copying.md for legal info. 2 #pragma once 3 4 #include <vector> 5 6 #include "config.h" 7 8 namespace nyan { 9 10 /** 11 * Information about a patch. 12 */ 13 class PatchInfo { 14 public: 15 explicit PatchInfo(fqon_t &&target); 16 ~PatchInfo() = default; 17 18 const fqon_t &get_target() const; 19 20 std::string str() const; 21 22 protected: 23 /** 24 * Patch target name. 25 */ 26 fqon_t target; 27 }; 28 29 30 } // namespace nyan 31