blob: 4859498b674ea044d1768c2ce5bee92f544c887a (
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
29
30
31
32
33
34
35
36
37
38
|
// $Id$
// -- App. Specific Include --
#include "CounterC.h"
// #include "util.h"
// -- App. Specific Include --
#include "Policy_Verifier.h"
#include "tao/Strategies/advanced_resource.h"
ACE_RCSID(tao, client, "$Id$")
int
main (int argc, char *argv[])
{
TAO_ENV_DECLARE_NEW_ENV;
ACE_TRY
{
Policy_Verifier policy_verifier;
policy_verifier.init (argc, argv TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
policy_verifier.run (TAO_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
}
ACE_CATCHANY
{
ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "CORBA Exception Raised");
return 1;
}
ACE_ENDTRY;
return 0;
}
|