Rev 462 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 462 | Rev 500 | ||
---|---|---|---|
1 | #include "Communication.h" |
1 | #include "Communication.h" |
2 | 2 | ||
3 | bool Communication::is_connected() { |
3 | bool Communication::is_connected() { |
4 | return connected; |
4 | return connected; |
5 | } |
5 | } |
6 | 6 | ||
7 | void Communication::connection_established() { |
7 | void Communication::connection_established() { |
8 | connected = true; |
8 | connected = true; |
9 | } |
9 | } |
10 | 10 | ||
11 | void Communication::connection_lost() { |
11 | void Communication::connection_lost() { |
12 | connected = false; |
12 | connected = false; |
13 | } |
- | |
14 | 13 | } |
|
- | 14 |