logmeow/config.h

13 lines
230 B
C++

#pragma once
#include <string>
#include <fstream>
struct Config {
std::string logcat_command;
};
std::string get_config_path();
Config parse_config(FILE* file);
void write_config(std::ofstream& file, const Config& config);