Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/ColladaPlugin/src/OgreColladaDll.cpp @ 43

Last change on this file since 43 was 21, checked in by nicolasc, 17 years ago

added ogreode and Colladaplugin

File size: 1.3 KB
Line 
1/**
2 * This source file is part of OgreColladaPlugin
3 * an addon for OGRE (Object-oriented Graphics Rendering Engine)
4 * For the latest info, see http://www.ogre3d.org/
5 *
6 * This program is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU Lesser General Public License as published by the Free Software
8 * Foundation; either version 2 of the License, or (at your option) any later
9 * version.
10
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14
15 * You should have received a copy of the GNU Lesser General Public License along with
16 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
17 * Place - Suite 330, Boston, MA 02111-1307, USA, or go to
18 * http://www.gnu.org/copyleft/lesser.txt.
19 *
20 * @author      Philipp Hartl
21 * @see         README
22 */
23
24#include "OgreColladaPrerequisites.h"
25#include "OgreColladaManager.h"
26
27namespace Ogre
28{
29
30        extern "C" _OgreColladaExport void dllStartPlugin(void)
31        {
32        // create Collada Manager
33        new ColladaManager();
34        }
35
36        extern "C" _OgreColladaExport void dllStopPlugin(void)
37        {
38        delete ColladaManager::getSingletonPtr();
39        }
40}
Note: See TracBrowser for help on using the repository browser.