mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-24 19:53:08 +00:00
c583cce5bd
* Remove excess headers * Add ButtonPanel * Add Popup * Move FileReader to standalone object * Universal remote (part 1) * Universal remote (part 2) * Global rename tranciever/file_parser * Compile assets * syntax fix * English: rename tranceiver to transceiver. Co-authored-by: あく <alleteam@gmail.com>
17 lines
400 B
C++
17 lines
400 B
C++
#pragma once
|
|
#include "file_reader/file_reader.hpp"
|
|
#include "irda.h"
|
|
|
|
class IrdaAppFileParser : public FileReader {
|
|
public:
|
|
typedef struct {
|
|
char name[32];
|
|
IrdaMessage message;
|
|
} IrdaFileMessage;
|
|
|
|
std::unique_ptr<IrdaAppFileParser::IrdaFileMessage> read_message(File* file);
|
|
|
|
private:
|
|
std::unique_ptr<IrdaFileMessage> parse_message(const std::string& str) const;
|
|
};
|
|
|