1
#ifndef SOGUI_DEVICEP_H
2
#define SOGUI_DEVICEP_H
4
/**************************************************************************\
6
* This file is part of the Coin 3D visualization library.
7
* Copyright (C) 1998-2005 by Systems in Motion. All rights reserved.
9
* This library is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU General Public License
11
* ("GPL") version 2 as published by the Free Software Foundation.
12
* See the file LICENSE.GPL at the root directory of this source
13
* distribution for additional information about the GNU GPL.
15
* For using Coin with software that can not be combined with the GNU
16
* GPL, and for taking advantage of the additional benefits of our
17
* support services, please contact Systems in Motion about acquiring
18
* a Coin Professional Edition License.
20
* See <URL:http://www.coin3d.org/> for more information.
22
* Systems in Motion, Postboks 1283, Pirsenteret, 7462 Trondheim, NORWAY.
23
* <URL:http://www.sim.no/>.
25
\**************************************************************************/
28
#error this is a private header file
29
#endif /* !SOQT_INTERNAL */
31
#include <Inventor/Qt/devices/SoQtDevice.h>
33
// *************************************************************************
38
SoGuiDeviceP(SoQtDevice * p);
39
virtual ~SoGuiDeviceP();
41
void addEventHandler(QWidget * widget,
42
SoQtEventHandler * handler,
44
void removeEventHandler(QWidget * widget,
45
SoQtEventHandler * handler,
48
typedef SbBool HandlerCB(SoQtEventHandler * handler,
51
void * handlerclosure);
53
void invokeHandlers(HandlerCB * cb, QEvent * event);
56
static SbVec2s lasteventposition;
60
class SoQtDevice * pub;
63
// *************************************************************************
65
#endif // !SOGUI_DEVICEP_H