SCENE C++ API  2.1.0
lsstandalonecontext.h
1 #pragma once
2 
3 #include <core_api/lsglobaldefinitions.h>
4 #include <core_api/lsappcontext.h>
5 
6 namespace SCENE_API {
7 
8 // Forward declarations
9 class LSWorkspace;
10 class LSStandaloneContext_Implementation;
11 class LSStandaloneConfig;
12 
21 {
22 public:
26  STANDALONE_API_EXPORT LSStandaloneContext();
27 
31  STANDALONE_API_EXPORT LSStandaloneContext(LSString key);
32 
35  STANDALONE_API_EXPORT LSStandaloneContext(LSStandaloneConfig const& config);
36 
37  STANDALONE_API_EXPORT ~LSStandaloneContext();
38 
42  STANDALONE_API_EXPORT LSResult::Result setCurrentWorkspace(ref_ptr<LSWorkspace> workspace);
43 
44 protected:
45  LS_INTERFACE(LSStandaloneContext, LSAppContext)
46 private:
47  LS_UNCOPYABLE(LSStandaloneContext)
48 };
49 
50 }