Use ert::Packet for basic packet decoding.

This commit is contained in:
Jared Boone
2015-12-06 15:32:21 -08:00
parent 51026609ce
commit 2a55030d4e
2 changed files with 35 additions and 30 deletions
+2 -2
View File
@@ -103,7 +103,7 @@ class ERTModel {
public:
ERTModel();
std::string on_packet(const ERTPacketMessage& message);
bool on_packet(const ert::Packet& packet);
private:
LogFile log_file;
@@ -119,7 +119,7 @@ public:
private:
ERTModel model;
void log(const std::string& s);
void on_packet(const ert::Packet& packet);
};
} /* namespace ui */