Big refactor, shuffling a lot of files around
This commit is contained in:
25
src/anm2/info.h
Normal file
25
src/anm2/info.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <tinyxml2/tinyxml2.h>
|
||||
|
||||
namespace anm2ed::anm2
|
||||
{
|
||||
constexpr auto FPS_MIN = 1;
|
||||
constexpr auto FPS_MAX = 120;
|
||||
|
||||
class Info
|
||||
{
|
||||
public:
|
||||
std::string createdBy{"robot"};
|
||||
std::string createdOn{};
|
||||
int fps = 30;
|
||||
int version{};
|
||||
|
||||
Info() = default;
|
||||
Info(tinyxml2::XMLElement*);
|
||||
tinyxml2::XMLElement* to_element(tinyxml2::XMLDocument& document);
|
||||
void serialize(tinyxml2::XMLDocument&, tinyxml2::XMLElement*);
|
||||
std::string to_string();
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user