summaryrefslogtreecommitdiff
path: root/TAO/IIOP/tests/Cubit/TAO/cubit_i.h
blob: 6f4bee0d4867e67cc9b6b263dc0497238ff34b50 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// @(#)cubit_i.cpp 05/14/97
// Copyright 1994-1995 by Sun Microsystems Inc.
// All Rights Reserved
//
// TEST:	hand-written Cubit Implementation
//
// Modified version of Cubit Example written by Sun Microsystems Inc.
// Modified by: Brian Mendel

/**************************************************************************
This file has been hand-crafted to work with the ORB API of the SUN's IIOP
implementation 
***************************************************************************/

#ifndef	_CUBIT_I_HH
#define	_CUBIT_I_HH

#include "cubitS.h"

class Cubit_i;
typedef Cubit_i *Cubit_i_ptr;
typedef Cubit_i_ptr Cubit_i_ref;

class Cubit_i : public _skel_Cubit
{
public:
   Cubit_i(const char* obj_name = 0);
   ~Cubit_i();
   
   virtual
   CORBA_Octet Cubit_cube_octet (CORBA_Octet       o,
                                 CORBA_Environment &env);

   virtual
   CORBA_Short Cubit_cube_short (CORBA_Short       s,
                                 CORBA_Environment &env);
  
   virtual
   CORBA_Long Cubit_cube_long (CORBA_Long        l,
                               CORBA_Environment &env);
  
   virtual
   Cubit_Many* Cubit_cube_struct (Cubit_Many        &values,
                                  CORBA_Environment &env);
  
   virtual
   Cubit_oneof* Cubit_cube_union (Cubit_oneof       &values,
                                  CORBA_Environment &env);
  
   virtual
   void Cubit_please_exit (CORBA_Environment &env);
};

#endif	// _CUBIT_I_HH