Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / TAO / DevGuideExamples / AMH_AMI / inner_i.h
bloba3ba1def9aab4418864a4325e4f76bd1c67ada6f
1 /* -*- C++ -*- */
3 // ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
4 // TAO and the TAO IDL Compiler have been developed by the Center for
5 // Distributed Object Computing at Washington University, St. Louis.
6 //
7 // Information about TAO is available at:
8 // http://www.dre.vanderbilt.edu/~schmidt/TAO.html
10 #ifndef AMH_INNER_I_H_
11 #define AMH_INNER_I_H_
13 #include "innerS.h"
15 #if !defined (ACE_LACKS_PRAGMA_ONCE)
16 #pragma once
17 #endif /* ACE_LACKS_PRAGMA_ONCE */
19 class Inner_i : public virtual POA_Inner
21 public:
22 // ctor takes a 1 to delay and return string, a 0 to crash
23 Inner_i (int d);
25 // will either return a string after a brief delay, or crash
26 virtual char * answer (const char *question);
28 private:
29 int divisor_;
33 #endif /* AMH_INNER_H_ */