// -*- C++ -*-
//
// $Id: First_i.h 77008 2007-02-12 11:52:38Z johnnyw $


#ifndef TAO_TWO_OBJECTS_FIRST_I_H
#define TAO_TWO_OBJECTS_FIRST_I_H

#include "Two_ObjectsS.h"

ACE_BEGIN_VERSIONED_NAMESPACE_DECL
class ACE_Auto_Event;
ACE_END_VERSIONED_NAMESPACE_DECL

/// Implement the Two_Objects_Test::First interface
class First_i
  : public virtual POA_Two_Objects_Test::First
{
public:

  // Ctor..
  First_i (CORBA::ORB_ptr orb, ACE_Auto_Event &two_way_done);

  /// Interface methods..
  void oneway_method (void);

private:

  /// Use an ORB reference to conver strings to objects and shutdown
  /// the application.
  CORBA::ORB_var orb_;
  ACE_Auto_Event &two_way_done_;
};

#endif /* TAO_TWO_OBJECTS_FIRST_I_H*/
