SCENE C++ API  2.0.22
lsworkspaceevent.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 LSWorkspace;
11 
15 class LSWorkspaceEvent : public LSEvent
16 {
17 public:
21  CORE_API_EXPORT LSWorkspaceEvent(ref_ptr<LSWorkspace> workspace);
22 
26  CORE_API_EXPORT ref_ptr<LSWorkspace> getWorkspace() const;
27 
28 protected:
29  // The workspace for which the event was triggered.
30  const ref_ptr<LSWorkspace> m_workspace;
31 };
32 
33 }