mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Create and edit proxy box.
This commit is contained in:
@@ -124,6 +124,7 @@ public:
|
||||
object_ptr<BoxContent> editItemBox(int id);
|
||||
object_ptr<BoxContent> addNewItemBox();
|
||||
bool setProxyEnabled(bool enabled);
|
||||
void setTryIPv6(bool enabled);
|
||||
|
||||
rpl::producer<ItemView> views() const;
|
||||
|
||||
@@ -143,6 +144,14 @@ private:
|
||||
void applyChanges();
|
||||
void saveDelayed();
|
||||
|
||||
void replaceItemWith(
|
||||
std::vector<Item>::iterator which,
|
||||
std::vector<Item>::iterator with);
|
||||
void replaceItemValue(
|
||||
std::vector<Item>::iterator which,
|
||||
const ProxyData &proxy);
|
||||
void addNewItem(const ProxyData &proxy);
|
||||
|
||||
int _idCounter = 0;
|
||||
int _selected = -1;
|
||||
std::vector<Item> _list;
|
||||
|
Reference in New Issue
Block a user