SCENE C++ API
2.0.22
Standalone_API
standalone_api
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
19
class
LSStandaloneContext
:
public
LSAppContext
20
{
21
public
:
25
STANDALONE_API_EXPORT
LSStandaloneContext
();
26
30
STANDALONE_API_EXPORT
LSStandaloneContext
(
LSString
key);
31
32
STANDALONE_API_EXPORT ~
LSStandaloneContext
();
33
37
STANDALONE_API_EXPORT
LSResult::Result
setCurrentWorkspace
(
ref_ptr<LSWorkspace>
workspace);
38
39
protected
:
40
LS_INTERFACE(
LSStandaloneContext
,
LSAppContext
)
41
private
:
42
LS_UNCOPYABLE(
LSStandaloneContext
)
43
};
44
45
}