Improve syslog parsing; Implement basic main loop.
This commit is contained in:
+3
-8
@@ -28,16 +28,11 @@ SOFTWARE.
|
||||
#include <memory>
|
||||
#include <boost/noncopyable.hpp>
|
||||
|
||||
class Reader : boost::noncopyable {
|
||||
class SyslogMessage;
|
||||
|
||||
class Reader : private boost::noncopyable {
|
||||
public:
|
||||
|
||||
virtual ~Reader() {
|
||||
};
|
||||
|
||||
virtual std::shared_ptr<SyslogMessage> nextMessage() = 0;
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
#endif /* READER_H */
|
||||
|
||||
Reference in New Issue
Block a user