This commit is contained in:
Hepatica
2024-08-17 03:39:14 +02:00
parent b758657c65
commit 4e10c139f8
5 changed files with 37 additions and 17 deletions

View File

@@ -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