Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/Tools/3dsmaxExport/LEXIExporter/LexiExport/Sources/LexiMaxExportDesc.cpp @ 6

Last change on this file since 6 was 6, checked in by anonymous, 17 years ago

=…

File size: 1.9 KB
Line 
1/*
2-----------------------------------------------------------------------------
3This source file is part of LEXIExporter
4
5Copyright 2006 NDS Limited
6
7Author(s):
8        Mark Folkenberg,
9        Bo Krohn
10
11This program is free software; you can redistribute it and/or modify it under
12the terms of the GNU Lesser General Public License as published by the Free Software
13Foundation; either version 2 of the License, or (at your option) any later
14version.
15
16This program is distributed in the hope that it will be useful, but WITHOUT
17ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
19
20You should have received a copy of the GNU Lesser General Public License along with
21this program; if not, write to the Free Software Foundation, Inc., 59 Temple
22Place - Suite 330, Boston, MA 02111-1307, USA, or go to
23http://www.gnu.org/copyleft/lesser.txt.
24-----------------------------------------------------------------------------
25*/
26
27#include "LexiStdAfx.h"
28#include "LexiMaxExportDesc.h"
29
30//
31
32extern "C" __declspec(dllexport) const TCHAR* LibDescription()
33{
34        return NDS_EXPORTER_TITLE;
35}
36
37extern "C" __declspec(dllexport) int LibNumberClasses()
38{
39        return 1;
40}
41
42extern "C" __declspec(dllexport) ULONG LibVersion()
43{
44        return VERSION_3DSMAX;
45}
46
47extern "C" __declspec(dllexport) ClassDesc* LibClassDesc(int i)
48{
49        static CExporterDesc Descriptor;
50        return i ? NULL : &Descriptor;
51}
52
53extern "C" __declspec(dllexport) ULONG CanAutoDefer()
54{
55        return 1;
56}
57
58/////////////////////////////////////////////////
59
60int CExporterDesc::IsPublic()
61{
62        return 1;
63}
64
65void* CExporterDesc::Create(BOOL loading)
66{
67        return new CExporter(this);
68}
69
70const TCHAR* CExporterDesc::ClassName()
71{
72        return NDS_EXPORTER_TITLE;
73}
74
75SClass_ID CExporterDesc::SuperClassID()
76{
77        return UTILITY_CLASS_ID;
78}
79
80Class_ID CExporterDesc::ClassID()
81{
82        return Class_ID(0x41e590e, 0x44af686b);
83}
84
85const TCHAR* CExporterDesc::Category()
86{
87        return "";
88}
89
90//
91
Note: See TracBrowser for help on using the repository browser.