Rev 1311 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1311 | Rev 1315 | ||
|---|---|---|---|
| Line 27... | Line 27... | ||
| 27 | #include "utils/Thread.h" |
27 | #include "utils/Thread.h" |
| 28 | #include "utils/BitBuffer.h" |
28 | #include "utils/BitBuffer.h" |
| 29 | #include "utils/UdpServer.h" |
29 | #include "utils/UdpServer.h" |
| 30 | #include "xml/Node.h" |
30 | #include "xml/Node.h" |
| 31 | #include "protocol/Protocol.h" |
31 | #include "protocol/Protocol.h" |
| - | 32 | #include "log/Logger.h" |
|
| 32 | 33 | ||
| 33 | namespace po = boost::program_options; |
34 | namespace po = boost::program_options; |
| 34 | 35 | ||
| 35 | #define foreach BOOST_FOREACH |
36 | #define foreach BOOST_FOREACH |
| 36 | #define reverse_foreach BOOST_REVERSE_FOREACH |
37 | #define reverse_foreach BOOST_REVERSE_FOREACH |
| Line 39... | Line 40... | ||
| 39 | 40 | ||
| 40 | using namespace atom; |
41 | using namespace atom; |
| 41 | 42 | ||
| 42 | int main(int argc, char* argv[]) |
43 | int main(int argc, char* argv[]) |
| 43 | { |
44 | { |
| 44 | Logger LOG; |
45 | log::Logger LOG; |
| 45 | LOG.setName("Main"); |
46 | LOG.setName("Main"); |
| 46 | 47 | ||
| 47 | LOG.info("Atom (" + string(AutoVersion::FULLVERSION_STRING) + " " + string(AutoVersion::STATUS) + ")"); |
48 | LOG.info("Atom (" + string(AutoVersion::FULLVERSION_STRING) + " " + string(AutoVersion::STATUS) + ")"); |
| 48 | LOG.info("Written by Mattias Runge 2009"); |
49 | LOG.info("Written by Mattias Runge 2009"); |
| 49 | 50 | ||