VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
terrainEventHandler
terrainDragDropHandler.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: terrainDragDropHandler.h,v $ $Revision: 1.3 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef TERRAINDRAGDROPHANDLER_H_
13
#define TERRAINDRAGDROPHANDLER_H_
14
15
#include "
tmEventHandler/dragDropHandler.h
"
16
17
#include "
terrainEventHandler/terrainEventHandlerDefines.h
"
18
class
DT_DLL_terrainEventHandler
DtTerrainDragDropHandler
:
public
DtDragDropHandler
19
{
20
Q_OBJECT
21
22
public
:
23
25
DtTerrainDragDropHandler
();
26
28
virtual
~
DtTerrainDragDropHandler
();
29
30
public
:
32
static
DtEventHandler
*
create
(
DtEventController
* owner,
void
* usr);
33
34
protected
:
35
virtual
bool
canDrag
(
DtTMMapArea
* map)
const
;
36
40
virtual
bool
isValidForDrag
(
DtTMMapArea
* map,
DtModelKey
&key);
41
};
42
43
#endif //TERRAINDRAGDROPHANDLER_H_
44
45
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)