summaryrefslogtreecommitdiff
path: root/TAO/DevGuideExamples/AMH_AMI/inner_i.h
blob: a3ba1def9aab4418864a4325e4f76bd1c67ada6f (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
/* -*- C++ -*-  */

// ******  Code generated by the The ACE ORB (TAO) IDL Compiler *******
// TAO and the TAO IDL Compiler have been developed by the Center for
// Distributed Object Computing at Washington University, St. Louis.
//
// Information about TAO is available at:
//                 http://www.dre.vanderbilt.edu/~schmidt/TAO.html

#ifndef AMH_INNER_I_H_
#define AMH_INNER_I_H_

#include "innerS.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

class  Inner_i : public virtual POA_Inner
{
public:
  // ctor takes a 1 to delay and return string, a 0 to crash
  Inner_i (int d);

  // will either return a string after a brief delay, or crash
  virtual char * answer (const char *question);

private:
  int divisor_;
};


#endif /* AMH_INNER_H_  */