// gKeyMapper - GUI glue between the mappings file and the row widgets. #ifndef GKEYMAPPER_MAPPINGS_H #define GKEYMAPPER_MAPPINGS_H #include #include #include "keyrow.h" namespace gkeymapper { // Collects the current widget state and writes it to path. bool write_mappings(const std::string& path, const std::vector& rows); // Loads path into the rows' widgets (type dropdown + target entry). void read_mappings(const std::string& path, const std::vector& rows); } // namespace gkeymapper #endif // GKEYMAPPER_MAPPINGS_H