summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/Bug_2289_Regression/MyInterfaceImpl.cpp
blob: da5c2832189fde413cab212354fd558879cdb2cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
// $Id$
//

#include "MyInterfaceImpl.h"

const char* 
MyInterfaceImpl::my_string = "a string";

MyInterfaceImpl::MyInterfaceImpl (CORBA::ORB_ptr orb)
  : orb_ (CORBA::ORB::_duplicate (orb))
{
}
CORBA::Boolean
MyInterfaceImpl::myMethod (const char* mystring ACE_ENV_ARG_DECL)
  ACE_THROW_SPEC ((CORBA::SystemException))
{
  return mystring == my_string;
}