summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2289_Regression/MyInterfaceImpl.cpp
blob: 2ceb5662238cbffd01d71ae73bc2cd59b673fbcc (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_THROW_SPEC ((CORBA::SystemException))
{
  return mystring == my_string;
}