diff options
author | bala <balanatarajan@users.noreply.github.com> | 1999-01-16 00:36:55 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 1999-01-16 00:36:55 +0000 |
commit | 6066dd5f1755edcd64c352a94d31d9644dfff6a0 (patch) | |
tree | d119a06124d049ad083ad0e5ae21bfa4a26fbbd9 | |
parent | bcd1e7e523c89b0f974ae01b88f54ddd3cedd912 (diff) | |
download | ATCD-6066dd5f1755edcd64c352a94d31d9644dfff6a0.tar.gz |
Made changes to implement templates
-rw-r--r-- | TAO/examples/Simple/time/client.cpp | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/TAO/examples/Simple/time/client.cpp b/TAO/examples/Simple/time/client.cpp index 1df50b4733d..bd6b92aea09 100644 --- a/TAO/examples/Simple/time/client.cpp +++ b/TAO/examples/Simple/time/client.cpp @@ -1,22 +1,23 @@ -// $Id$ +//$Id$ +# include "Time_Client_i.h" -#include "Client_i.h" -ACE_RCSID(Time, client, "$Id$") - -// This function runs the time and date test. +// The client program for the application. int main (int argc, char **argv) { - Client_i client; + Time_Client_i client; + ACE_DEBUG ((LM_DEBUG, "\n\ttime and date client\n\n")); - if (client.init (argc, argv) == -1) - return -1; + if (client.run (argc, argv) == -1) + return -1; else - return client.run (); + return 0; + } + |