mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 22:30:06 +00:00
Add modified methods to header file from last commit
This commit is contained in:
parent
250a535fc3
commit
0ec81e5832
1 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
#include <scwx/qt/types/marker_types.hpp>
|
#include <scwx/qt/types/marker_types.hpp>
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
#include <optional>
|
||||||
|
|
||||||
namespace scwx
|
namespace scwx
|
||||||
{
|
{
|
||||||
|
|
@ -20,7 +21,7 @@ public:
|
||||||
~MarkerManager();
|
~MarkerManager();
|
||||||
|
|
||||||
size_t marker_count();
|
size_t marker_count();
|
||||||
const types::MarkerInfo& get_marker(size_t index);
|
std::optional<types::MarkerInfo> get_marker(size_t index);
|
||||||
void set_marker(size_t index, const types::MarkerInfo& marker);
|
void set_marker(size_t index, const types::MarkerInfo& marker);
|
||||||
void add_marker(const types::MarkerInfo& marker);
|
void add_marker(const types::MarkerInfo& marker);
|
||||||
void remove_marker(size_t index);
|
void remove_marker(size_t index);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue