VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
entityEditorImpl
entityEditorSystemsHandler.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: entityEditorSystemsHandler.h,v $ $Revision: 1.2 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DTENTITYEDITORSYSTEMSHANDLER_H_
13
#define DTENTITYEDITORSYSTEMSHANDLER_H_
14
15
#include "
tmqt/eventHandler.h
"
16
#include "
entityEditorImpl/entityEditorEventHandlers.h
"
17
#include "
entityEditorImpl/entityEditorImplDefines.h
"
18
19
class
DtFilename;
20
class
DtObjectType
;
21
class
DtMtlParameterDbEntry
;
22
class
DtComponentSystemDescriptor
;
23
24
class
DT_DLL_entityeditorimpl
DtEntityEditorSystemsHandler
:
public
DtEventHandler
25
{
26
Q_OBJECT
27
28
public
:
29
31
DtEntityEditorSystemsHandler
();
32
34
virtual
~
DtEntityEditorSystemsHandler
();
35
39
virtual
bool
replaceSystems(
const
QStringList& systems);
40
44
virtual
bool
replaceSystem(
const
DtFilename&);
45
47
virtual
void
sharedSystems(
const
DtFilename& systemFile,
QList<DtMtlParameterDbEntry*>
& systems);
48
50
virtual
void
loadSystem(
DtMtlParameterDbEntry
* params,
51
const
DtFilename& systemFile,
DtComponentSystemDescriptor
& descriptor);
52
55
virtual
void
replaceSystem(
DtMtlParameterDbEntry
*,
const
DtComponentSystemDescriptor
& system);
56
57
static
QString absolutePathFromWorkingDirectory(
const
DtFilename& dirFile);
58
59
virtual
void
deleteSystems(
const
QStringList& systems);
60
62
virtual
bool
deleteSystem(
const
DtFilename&);
63
virtual
void
deleteSystem(
DtMtlParameterDbEntry
*,
const
DtFilename& system);
64
66
virtual
void
addSystems(
const
QStringList&);
67
73
virtual
void
processCommand(
const
QString& command,
const
QStringList& systemFiles);
74
75
protected
:
78
79
virtual
bool
warnUser(
const
QStringList& systems);
80
81
public
:
83
static
DtEventHandler
* create(
DtEventController
* owner,
void
* usr);
84
};
85
86
#endif
87
88
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)