Linux multi-monitor fullscreen support
[ryzomcore.git] / nel / tools / 3d / pipeline_max / builtin / editable_patch.cpp
blob27f427a0259b4e20b2c438c3d719afa7ffca3a8b
1 /**
2 * \file editable_patch.cpp
3 * \brief CEditablePatch
4 * \date 2012-08-26 12:12GMT
5 * \author Jan Boon (Kaetemi)
6 * CEditablePatch
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 "editable_patch.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 {
43 namespace BUILTIN {
45 CEditablePatch::CEditablePatch(CScene *scene) : CPatchObject(scene)
50 CEditablePatch::~CEditablePatch()
55 const ucstring CEditablePatch::DisplayName = ucstring("EditablePatch");
56 const char *CEditablePatch::InternalName = "EditablePatch";
57 const NLMISC::CClassId CEditablePatch::ClassId = NLMISC::CClassId(0x00001030, 0x00000000);
58 const TSClassId CEditablePatch::SuperClassId = CPatchObject::SuperClassId;
59 const CEditablePatchClassDesc EditablePatchClassDesc(&DllPluginDescBuiltin);
61 void CEditablePatch::parse(uint16 version, uint filter)
63 CPatchObject::parse(version);
66 void CEditablePatch::clean()
68 CPatchObject::clean();
71 void CEditablePatch::build(uint16 version, uint filter)
73 CPatchObject::build(version);
76 void CEditablePatch::disown()
78 CPatchObject::disown();
81 void CEditablePatch::init()
83 CPatchObject::init();
86 bool CEditablePatch::inherits(const NLMISC::CClassId classId) const
88 if (classId == classDesc()->classId()) return true;
89 return CPatchObject::inherits(classId);
92 const ISceneClassDesc *CEditablePatch::classDesc() const
94 return &EditablePatchClassDesc;
97 void CEditablePatch::toStringLocal(std::ostream &ostream, const std::string &pad, uint filter) const
99 CPatchObject::toStringLocal(ostream, pad);
102 IStorageObject *CEditablePatch::createChunkById(uint16 id, bool container)
104 return CPatchObject::createChunkById(id, container);
107 } /* namespace BUILTIN */
108 } /* namespace MAX */
109 } /* namespace PIPELINE */
111 /* end of file */