Update weaved to reflect the latest changes in libweave
A number of APIs have changed in libweave and weaved is updated to
work with the latest version of the library. Some public D-Bus APIs
have changed as well to reflect the underlying libweave interfaces:
- Command::Done/SetProgress are replaced with Command::Complete
- Command::Abort now takes error code and error messages
- Command::category is removed
- Command::status is renamed to Command::state
- Manager::GetCommand is removed (since weave::Command::ToJson is
no longer available)
Change-Id: Iebf0565467756e8a21be37163d750ff22c419672
diff --git a/buffet/manager.h b/buffet/manager.h
index 9ae5b17..a90925d 100644
--- a/buffet/manager.h
+++ b/buffet/manager.h
@@ -72,6 +72,7 @@
private:
void RestartWeave(chromeos::dbus_utils::AsyncEventSequencer* sequencer);
+ void CreateDevice();
// DBus methods:
void RegisterDevice(DBusMethodResponsePtr<std::string> response,
@@ -81,8 +82,6 @@
bool GetState(chromeos::ErrorPtr* error, std::string* state) override;
void AddCommand(DBusMethodResponsePtr<std::string> response,
const std::string& json_command) override;
- void GetCommand(DBusMethodResponsePtr<std::string> response,
- const std::string& id) override;
std::string TestMethod(const std::string& message) override;
void StartPrivet(const Options& options,