mirror of
https://github.com/yawaflua/SpCloudCore.git
synced 2025-12-10 04:29:35 +02:00
Fix
This commit is contained in:
@@ -8,25 +8,25 @@ private:
|
||||
std::string url;
|
||||
std::string url_on_local_machine;
|
||||
std::string target;
|
||||
//std::string service_name;
|
||||
std::string service_name;
|
||||
|
||||
public:
|
||||
App(const std::string& name, const std::string& user_id, const std::string& url,
|
||||
const std::string& url_on_local_machine, const std::string& target/*, const std::string& service_name*/)
|
||||
: name(name), user_id(user_id), url(url), url_on_local_machine(url_on_local_machine), target(target)/*, service_name(service_name)*/ {}
|
||||
const std::string& url_on_local_machine, const std::string& target, const std::string& service_name)
|
||||
: name(name), user_id(user_id), url(url), url_on_local_machine(url_on_local_machine), target(target), service_name(service_name) {}
|
||||
|
||||
std::string get_name() const { return name; }
|
||||
std::string get_user_id() const { return user_id; }
|
||||
std::string get_url() const { return url; }
|
||||
std::string get_url_on_local_machine() const { return url_on_local_machine; }
|
||||
std::string get_target() const { return target; }
|
||||
//std::string get_service_name() const { return service_name; }
|
||||
std::string get_service_name() const { return service_name; }
|
||||
|
||||
void set_name(const std::string& name) { this->name = name; }
|
||||
void set_user_id(const std::string& user_id) { this->user_id = user_id; }
|
||||
void set_url(const std::string& url) { this->url = url; }
|
||||
void set_url_on_local_machine(const std::string& url_on_local_machine) { this->url_on_local_machine = url_on_local_machine; }
|
||||
void set_target(const std::string& target) { this->target = target; }
|
||||
//void set_service_name(const std::string& service_name) { this->service_name = service_name; }
|
||||
void set_service_name(const std::string& service_name) { this->service_name = service_name; }
|
||||
};
|
||||
#endif // APP_H
|
||||
|
||||
Reference in New Issue
Block a user