SCENE C++ API  2.0.22
lsloginsettings.h
1 #pragma once
2 
3 #include <core_api/lsattributecontainer.h>
4 
5 namespace SCENE_API {
6 
7 // Forward declarations
8 class LSLoginSettings_Implementation;
9 
10 //-----------------------------------------------------------------------------
11 // L S L o g i n S e t t i n g s
12 //-----------------------------------------------------------------------------
13 
19 {
20  LS_UNCOPYABLE(LSLoginSettings)
21 
22 public:
25  static const LSString ATTR_SUBDOMAIN;
26  static const LSString ATTR_DOMAIN;
27  static const LSString ATTR_USER_NAME;
28  static const LSString ATTR_USER_PASSWORD;
29 
30 public:
33  CORE_API_EXPORT static ref_ptr<LSLoginSettings> create();
34 
44  CORE_API_EXPORT bool setSubdomain(const LSString& subdomain);
50  CORE_API_EXPORT bool setDomain(const LSString& domain);
55  CORE_API_EXPORT bool setUserName(const LSString& userName);
60  CORE_API_EXPORT bool setUserPassword(const LSString& userPassword);
61 
66  CORE_API_EXPORT bool check() const;
67 
68 protected:
70 };
71 
72 }