X-Git-Url: https://git.llucax.com/software/eventxx.git/blobdiff_plain/3de7450f04f8d9cd241eb600da57cbe0539aa62c..251b04e775d59064ba0f539a441833400573d2c6:/test/test-eof.cpp diff --git a/test/test-eof.cpp b/test/test-eof.cpp index a76b6b4..4b30013 100644 --- a/test/test-eof.cpp +++ b/test/test-eof.cpp @@ -3,7 +3,7 @@ * c++ -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent * * - * Wed 2006-12-27 - Modified by Leandro Lucarella + * Wed 2006-12-27 - Modified by Leandro Lucarella * * Adapted to test the C++ inteface. * @@ -20,12 +20,12 @@ #include #include -#include +#include int test_okay = 1; int called = 0; -event::dispatcher d; -event::cevent* ev; +eventxx::dispatcher d; +eventxx::cevent* ev; void read_cb(int fd, short event, void *arg) @@ -60,7 +60,7 @@ main (int argc, char **argv) shutdown(pair[0], SHUT_WR); /* Initalize one event */ - ev = new event::cevent(pair[1], EV_READ, read_cb, NULL); + ev = new eventxx::cevent(pair[1], eventxx::READ, read_cb, NULL); d.add(*ev);