mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 19:20:05 +00:00
Make placefile settings view editable
This commit is contained in:
parent
3ff34caa02
commit
7c21ccaf41
6 changed files with 234 additions and 77 deletions
|
|
@ -19,9 +19,13 @@ public:
|
|||
explicit PlacefileManager();
|
||||
~PlacefileManager();
|
||||
|
||||
bool PlacefileEnabled(const std::string& name);
|
||||
bool PlacefileThresholded(const std::string& name);
|
||||
std::shared_ptr<const gr::Placefile> Placefile(const std::string& name);
|
||||
bool placefile_enabled(const std::string& name);
|
||||
bool placefile_thresholded(const std::string& name);
|
||||
std::shared_ptr<const gr::Placefile> placefile(const std::string& name);
|
||||
|
||||
void set_placefile_enabled(const std::string& name, bool enabled);
|
||||
void set_placefile_thresholded(const std::string& name, bool thresholded);
|
||||
void set_placefile_url(const std::string& name, const std::string& newUrl);
|
||||
|
||||
/**
|
||||
* @brief Gets a list of active placefiles
|
||||
|
|
@ -37,6 +41,8 @@ public:
|
|||
|
||||
signals:
|
||||
void PlacefileEnabled(const std::string& name, bool enabled);
|
||||
void PlacefileRenamed(const std::string& oldName,
|
||||
const std::string& newName);
|
||||
void PlacefileUpdated(const std::string& name);
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue