Linux multi-monitor fullscreen support
[ryzomcore.git] / nel / tools / 3d / pipeline_max / scene_class_unknown.cpp
blobf5179a7d32cc71e38987ce6d75f2e6400c419b75
1 /**
2 * \file scene_class_unknown.cpp
3 * \brief CSceneClassUnknown
4 * \date 2012-08-20 13:23GMT
5 * \author Jan Boon (Kaetemi)
6 * CSceneClassUnknown
7 */
9 /*
10 * Copyright (C) 2012 by authors
12 * This file is part of RYZOM CORE PIPELINE.
13 * RYZOM CORE PIPELINE is free software: you can redistribute it
14 * and/or modify it under the terms of the GNU Affero General Public
15 * License as published by the Free Software Foundation, either
16 * version 3 of the License, or (at your option) any later version.
18 * RYZOM CORE PIPELINE is distributed in the hope that it will be
19 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
20 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Affero General Public License for more details.
23 * You should have received a copy of the GNU Affero General Public
24 * License along with RYZOM CORE PIPELINE. If not, see
25 * <http://www.gnu.org/licenses/>.
28 #include <nel/misc/types_nl.h>
29 #include "scene_class_unknown.h"
31 // STL includes
33 // NeL includes
34 // #include <nel/misc/debug.h>
36 // Project includes
38 // using namespace std;
39 // using namespace NLMISC;
41 namespace PIPELINE {
42 namespace MAX {
44 ////////////////////////////////////////////////////////////////////////
45 ////////////////////////////////////////////////////////////////////////
46 ////////////////////////////////////////////////////////////////////////
48 CSceneClassUnknownDllPluginDesc::CSceneClassUnknownDllPluginDesc(const ucstring &dllFilename, const ucstring &dllDescription) : m_InternalName(dllFilename), m_DisplayName(dllDescription)
53 const ucchar *CSceneClassUnknownDllPluginDesc::internalName() const
55 return m_InternalName.c_str();
58 const ucchar *CSceneClassUnknownDllPluginDesc::displayName() const
60 return m_DisplayName.c_str();
63 ////////////////////////////////////////////////////////////////////////
64 ////////////////////////////////////////////////////////////////////////
65 ////////////////////////////////////////////////////////////////////////
67 CSceneClassUnknownDesc::CSceneClassUnknownDesc(const NLMISC::CClassId classId, const TSClassId superClassId, const ucstring &displayName, const std::string &internalName, const ucstring &dllFilename, const ucstring &dllDescription) : m_DisplayName(displayName), m_InternalName(internalName), m_ClassId(classId), m_SuperClassId(superClassId), m_DllPluginDesc(dllFilename, dllDescription)
72 CSceneClass *CSceneClassUnknownDesc::create(CScene *scene) const
74 nlassert(false);
77 void CSceneClassUnknownDesc::destroy(CSceneClass *sc) const
79 delete sc;
82 const ucchar *CSceneClassUnknownDesc::displayName() const
84 return m_DisplayName.c_str();
87 const char *CSceneClassUnknownDesc::internalName() const
89 return m_InternalName.c_str();
92 NLMISC::CClassId CSceneClassUnknownDesc::classId() const
94 return m_ClassId;
97 TSClassId CSceneClassUnknownDesc::superClassId() const
99 return m_SuperClassId;
102 const IDllPluginDescInternal *CSceneClassUnknownDesc::dllPluginDesc() const
104 return &m_DllPluginDesc;
107 ////////////////////////////////////////////////////////////////////////
108 ////////////////////////////////////////////////////////////////////////
109 ////////////////////////////////////////////////////////////////////////
111 } /* namespace MAX */
112 } /* namespace PIPELINE */
114 /* end of file */