SCENE C++ API  2.0.22
lsviewevent.h
1 #pragma once
2 
3 #include <core_api/lsglobaldefinitions.h>
4 #include <core_api/lsevent.h>
5 #include <core_api/ref_ptr.h>
6 
7 namespace SCENE_API {
8 
9 // Forward declarations
10 class LSView;
11 
14 class LSViewEvent : public LSEvent
15 {
16 public:
17 
21  PLUGIN_API_EXPORT LSViewEvent(ref_ptr<LSView> view);
22 
26  PLUGIN_API_EXPORT ref_ptr<LSView> getView() const;
27 
28 protected:
29  // The view for which the event was triggered.
30  const ref_ptr<LSView> m_view;
31 };
32 
33 }