mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-09-27 15:56:48 -04:00
22 lines
371 B
C
22 lines
371 B
C
|
#pragma once
|
||
|
|
||
|
#include <wx/stdpaths.h>
|
||
|
#include <wx/dir.h>
|
||
|
#include <wx/filename.h>
|
||
|
|
||
|
#include "DataTree.h"
|
||
|
|
||
|
class AppConfig {
|
||
|
public:
|
||
|
|
||
|
std::string getConfigDir();
|
||
|
|
||
|
void setPPM(std::string device_serial, int ppm);
|
||
|
int getPPM(std::string device_serial);
|
||
|
bool save();
|
||
|
bool load();
|
||
|
bool reset();
|
||
|
private:
|
||
|
std::map<std::string, int> device_ppm;
|
||
|
};
|