VR-Forces 4.0.4 Class Documentation
include/entityEditorImpl/entityEditorSystemsHandler.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: entityEditorSystemsHandler.h,v $ $Revision: 1.2 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DTENTITYEDITORSYSTEMSHANDLER_H_
00013 #define DTENTITYEDITORSYSTEMSHANDLER_H_
00014 
00015 #include "tmqt/eventHandler.h"
00016 #include "entityEditorImpl/entityEditorEventHandlers.h"
00017 #include "entityEditorImpl/entityEditorImplDefines.h"
00018 
00019 class DtFilename;
00020 class DtObjectType;
00021 class DtMtlParameterDbEntry;
00022 class DtComponentSystemDescriptor;
00023 
00024 class DT_DLL_entityeditorimpl DtEntityEditorSystemsHandler : public DtEventHandler
00025 {
00026    Q_OBJECT
00027    
00028 public:
00029 
00031    DtEntityEditorSystemsHandler();
00032    
00034    virtual ~DtEntityEditorSystemsHandler();
00035 
00039    virtual bool replaceSystems(const QStringList& systems);
00040 
00044    virtual bool replaceSystem(const DtFilename&);
00045 
00047    virtual void sharedSystems(const DtFilename& systemFile, QList<DtMtlParameterDbEntry*>& systems);
00048 
00050    virtual void loadSystem(DtMtlParameterDbEntry* params,
00051       const DtFilename& systemFile, DtComponentSystemDescriptor& descriptor);
00052 
00055    virtual void replaceSystem(DtMtlParameterDbEntry*, const DtComponentSystemDescriptor& system);
00056 
00057    static QString absolutePathFromWorkingDirectory(const DtFilename& dirFile);
00058 
00059    virtual void deleteSystems(const QStringList& systems);
00060 
00062    virtual bool deleteSystem(const DtFilename&);
00063    virtual void deleteSystem(DtMtlParameterDbEntry*, const DtFilename& system);
00064 
00066    virtual void addSystems(const QStringList&);
00067 
00073    virtual void processCommand(const QString& command, const QStringList& systemFiles);
00074 
00075 protected:
00078 
00079    virtual bool warnUser(const QStringList& systems);
00080 
00081 public:
00083    static DtEventHandler* create(DtEventController* owner, void* usr);
00084 };
00085 
00086 #endif //! DTENTITYEDITORSYSTEMSHANDLER_H_
00087 
00088 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)