summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/ImplRepo/nestea_client.cpp
blob: 0c68b4ad481f72664e235ada48a6a6c22e688ec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// $Id$

#include "nestea_client_i.h"

#include "ace/Log_Msg.h"
#include "ace/Argv_Type_Converter.h"

ACE_RCSID (ImplRepo, 
           nestea_client, 
           "$Id$")

// This function runs the test.

int
ACE_TMAIN (int argc, ACE_TCHAR **argv)
{
  ACE_Argv_Type_Converter convert (argc, argv);

  Nestea_Client_i client;

  ACE_DEBUG ((LM_DEBUG, "\n\tNestea Bookshelf Client\n\n"));

  if (client.init (convert.get_argc(), convert.get_ASCII_argv()) == -1)
    return 1;
  else
    return client.run ();
}