VR-Forces 4.1.1 Class Documentation
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"
18 
19 class DtFilename;
20 class DtObjectType;
23 
25 {
26  Q_OBJECT
27 
28 public:
29 
32 
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 Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)