# | Line 6 | Line 6 | |
---|---|---|
6 | ||
7 | #include "Daemon.hpp" | |
8 | ||
9 | < | Daemon::Daemon() : running(true), loaded(false), thread(new api::Thread(etl::BindAll(&Daemon::loop, this))) {} |
9 | > | void Daemon::start() |
10 | > | { |
11 | > | running = true; |
12 | > | thread = new api::Thread(etl::BindAll(&Daemon::loop, this)); |
13 | > | } |
14 | ||
15 | int Daemon::loop() | |
16 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |