summaryrefslogtreecommitdiff
path: root/TAO/tests/QtTests/test_i.h
blob: 193e6e5655e5bca2f64064131bac24ef8c4efa30 (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
//=============================================================================
/**
 *  @file   test_i.h
 *
 *  $Id$
 *
 *  @author Bala Natarajan <bala@cs.wustl.edu>
 */
//=============================================================================


#ifndef _QT_TEST_I_H
#define _QT_TEST_I_H

#include "testS.h"

#include <QtGui/qapplication.h>
#include <QtCore/qobject.h>

class LCD_Display_imp : public QObject,
                        public POA_LCD_Display

{
  /**
   * = TITLE
   *   LCD_Display implementation class
   *
   * = DESCRIPTION
   *   Implements the LCD_Display interface in test.idl
   *
   */
  Q_OBJECT
public:
  LCD_Display_imp (CORBA::ORB_ptr);

  // ctor

  void shutdown (void);

  void send_val (CORBA::Long val);

 signals:
  void set_value (int val);

private:
  /// The ORB
  CORBA::ORB_var orb_;
};

#endif /* SERVER_TEST_I_H */