Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
Link.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_MIMICS_AUXILIARY_LINK_HPP_
2#define IV_SRC_MIMICS_AUXILIARY_LINK_HPP_
3
5
7{
8
10{
11public:
12 Link();
13 ~Link() override = default;
14
15 bool load(const iv::file::xml::node &nodeControlMimic) override;
16 bool save(iv::file::xml::node &nodeControlMimic) const override;
17
18 // Controller
19 [[nodiscard]] std::shared_ptr<iv::mimics::AbstractMimicElement> clone() const override;
20 [[nodiscard]] bool checkIntegrity() const override;
21
22 [[nodiscard]] bool canShowCircularMenu() const override;
23 [[nodiscard]] bool hasAlternativeAction() const override;
24 void runAlternativeAction(CDialog *dlgFatherRef) override;
25
26 // UI
28
29private:
30 Link(const Link &other);
31
33
34 struct Keys
35 {
36 static constexpr std::string_view id {"Id"};
37 };
39 {
40 static constexpr iv::types::mimicId id {};
41 };
42 struct Sections
43 {
44 static constexpr std::string_view linkAuxiliary {"Link"};
45 };
46};
47
48}// namespace iv::mimics::auxiliary
49
50#endif//IV_SRC_MIMICS_AUXILIARY_LINK_HPP_
Definition AbstractComponentGUI.hpp:30
Definition CDialog.hpp:21
Definition xmlFile.hpp:15
Definition Image.hpp:11
Definition Image.cpp:16
std::string mimicId
Definition types.hpp:72