From 949ed7db7cd14c20fb6a4ea424cf66175d38b725 Mon Sep 17 00:00:00 2001 From: Chris Brunner Date: Mon, 9 Nov 2009 23:15:29 +0000 Subject: [PATCH] Pro Tip: Make sure it compiles before checking in... --- pandatool/src/mayaprogs/mayaToEgg_client.cxx | 10 +++++----- pandatool/src/mayaprogs/mayaToEgg_client.h | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pandatool/src/mayaprogs/mayaToEgg_client.cxx b/pandatool/src/mayaprogs/mayaToEgg_client.cxx index 9c9b152478..e1bef62126 100755 --- a/pandatool/src/mayaprogs/mayaToEgg_client.cxx +++ b/pandatool/src/mayaprogs/mayaToEgg_client.cxx @@ -27,8 +27,8 @@ MayaToEggClient() : SomethingToEgg("Maya", ".mb") { qManager = new QueuedConnectionManager(); - qReader = new QueuedConnectionReader(manager, 0); - qWriter = new ConnectionWriter(manager, 0); + qReader = new QueuedConnectionReader(qManager, 0); + qWriter = new ConnectionWriter(qManager, 0); // We assume the server is local and on port 4242 server.set_host("localhost", 4242); } @@ -42,7 +42,7 @@ int main(int argc, char *argv[]) { MayaToEggClient prog; // Open a connection to the server process - PT(Connection) con = prog.manager->open_TCP_client_connection(prog.server,0); + PT(Connection) con = prog.qManager->open_TCP_client_connection(prog.server,0); if (con.is_null()) { nout << "port opened fail"; } @@ -72,8 +72,8 @@ int main(int argc, char *argv[]) { nout << "sending datagram\n"; // Send it and close the connection - prog.writer->send(datagram, con); - prog.manager->close_connection(con); + prog.qWriter->send(datagram, con); + prog.qManager->close_connection(con); return 0; } diff --git a/pandatool/src/mayaprogs/mayaToEgg_client.h b/pandatool/src/mayaprogs/mayaToEgg_client.h index 6c13078954..c116230cb9 100755 --- a/pandatool/src/mayaprogs/mayaToEgg_client.h +++ b/pandatool/src/mayaprogs/mayaToEgg_client.h @@ -28,9 +28,9 @@ class MayaToEggClient : public SomethingToEgg { public: MayaToEggClient(); - QueuedConnectionManager *manager; - QueuedConnectionReader *reader; - ConnectionWriter *writer; + QueuedConnectionManager *qManager; + QueuedConnectionReader *qReader; + ConnectionWriter *qWriter; NetAddress server; };