SCENE C++ API  2.0.22
lswebshare.h
1 
10 #pragma once
11 
12 #include <core_api/lsreftype.h>
13 #include <core_api/lsresult.h>
14 #include <core_api/lsstring.h>
15 
16 namespace SCENE_API {
17 
18 // Forward declarations
19 class LSProject;
20 class LSWebShareSettings;
21 class LSLoginSettings;
22 class LSWebShare_Implementation;
23 
24 //-----------------------------------------------------------------------------
25 // L S W e b S h a r e
26 //-----------------------------------------------------------------------------
27 
30 class LSWebShare : public LSInterface, public LSRefType
31 {
32  LS_UNCOPYABLE(LSWebShare)
33 
34 public:
46  CORE_API_EXPORT static LSResult::Result getWebShareDataPath(const ref_ptr<const LSProject>& project, LSString& path);
47 
63  CORE_API_EXPORT static LSResult::Result createWebShareData(const ref_ptr<const LSProject>& project,
64  const ref_ptr<const LSWebShareSettings>& webshareSettings, const ref_ptr<const LSLoginSettings>& loginSettings = nullptr);
65 
66 protected:
67  LS_INTERFACE(LSWebShare, LSInterface)
68 };
69 
70 }