control.h

来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 66 行

H
66
字号
// Control.h,v 1.5 2000/11/11 17:39:56 bala Exp

// ============================================================================
//
// = LIBRARY
//   TAO/tests/Xt_Stopwatch/Stopwatch_client
//
// = FILENAME
//   Control.h
//
// = AUTHOR
//   Balachandran  Natarajan <bala@cs.wustl.edu>
//
// ============================================================================

#ifndef CONTROL_H
#define CONTROL_H
#include "Client.h"

#if defined (ACE_HAS_XT)

#include <Xm/Xm.h>
#include <Xm/PushB.h>
#include <Xm/Label.h>
#include <Xm/RowColumn.h>
#include <Xm/Frame.h>


class Control
{
 public:
  Control (Widget &parent);
  // Stopwatch constructor

  virtual ~Control (void);
  // Destructor

  virtual void manage (void);
  // Manage the widget

  Widget& startwidget (void);
  // Return the start widget

  Widget& stopwidget (void);
  // Return the stop widget..

 private:

  Widget frame_;
  // A frame widget...

  Widget rowcolumn_;
  // A row column widget..

  Widget startwidget_;
  // Pushbutton  Widget that is used to start the  timer..

  Widget stopwidget_;
  // Pushbutton widget that is used to stop the timer..

};

#endif /*ACE_HAS_XT */

#endif /* CONTROL_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?