#ifdef WITH_GUI #ifndef SEQUENCE_H #define SEQUENCE_H #include struct DfuButton { std::string id; std::string name; int x = 0; int y = 0; }; struct DfuStep { std::string description; int duration = 0; std::vector activeButtons; std::string action; }; struct DfuSequence { std::string imageName; int imageWidth = 0; int imageHeight = 0; int imageOffsetX = 0; std::vector buttons; std::vector steps; }; DfuSequence ParseSequence(const std::string& deviceKey); bool SequenceIsSupported(const std::string& deviceKey); #endif // SEQUENCE_H #endif // WITH_GUI