blob: aaefc20f65876f849df96abc2b73af7682f9f390 (
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
39
40
41
42
43
44
|
// $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[])
{
int status = 0;
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
{
Policy_Verifier policy_verifier;
bool retval = policy_verifier.init (argc, argv ACE_ENV_ARG_PARAMETER);
if (retval)
{
policy_verifier.run ();
}
else
{
status++;
}
}
ACE_CATCHANY
{
ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "CORBA Exception Raised");
status++;
}
ACE_ENDTRY;
return status;
}
|