Initial signatures
* Author: Mark Riddoch
*/
#include <client_http.hpp>
+#include <config_category.h>
#include <service_record.h>
#include <logger.h>
#include <string>
@@ -24,8 +25,12 @@ class ManagementClient {
bool registerService(const ServiceRecord& service);
bool unregisterService();
bool getService(ServiceRecord& service);
- bool registerCategory(const std::string& category);
- bool unregisterCategory(const std::string& category);
+ bool registerCategory(const std::string& categoryName);
+ bool unregisterCategory(const std::string& categoryName);
+ ConfigCategories getCategories();
+ ConfigCategory getCategory();
+ bool addCategory(const std::string& categoryName,
+ const ConfigCategory& category);
private:
HttpClient *m_client;
std::string *m_uuid;
