OpenLexocad  27.1
UICallback.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Base/GlobalId.h>
4 
5 
6 #include <memory>
7 #include <vector>
8 
9 namespace OpenLxUI
10 {
17 class LX_OPENLXUI_EXPORT UICallback
18 {
19 public:
20  void setActive(bool onoff);
21  bool isActive() const;
22 
23  virtual ~UICallback() {}
24 
25 private:
26  bool _active = true;
27 };
28 } // namespace OpenLxUI
Definition: UICallback.h:17
virtual ~UICallback()
Definition: UICallback.h:23
Definition: ActiveEdge.h:25
bool isActive() const
Returns 'true' if the Document is the active Document. Otherwise returns 'false'.