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