[964] | 1 | /*
|
---|
| 2 | Copyright (C) 2005-2006 Feeling Software Inc.
|
---|
| 3 | MIT License: http://www.opensource.org/licenses/mit-license.php
|
---|
| 4 | */
|
---|
| 5 |
|
---|
| 6 | /**
|
---|
| 7 | * @mainpage FCollada Documentation
|
---|
| 8 | *
|
---|
| 9 | * @section intro_sec Introduction
|
---|
| 10 | * The FCollada classes are designed to read and write Collada files.
|
---|
| 11 | *
|
---|
| 12 | * @section install_sec Installation
|
---|
| 13 | *
|
---|
| 14 | * @subsection step1 Step 1: Download
|
---|
| 15 | * You can download the FCollada libraries from our website: http://www.feelingsoftware.com
|
---|
| 16 | *
|
---|
| 17 | * @section copyright Copyright
|
---|
| 18 | * Copyright (C) 2005-2006 Feeling Software Inc.
|
---|
| 19 | * MIT License: http://www.opensource.org/licenses/mit-license.php
|
---|
| 20 | */
|
---|
| 21 |
|
---|
| 22 | #ifndef _FCOLLADA_H_
|
---|
| 23 | #define _FCOLLADA_H_
|
---|
| 24 |
|
---|
| 25 | #ifdef FCOLLADA_DLL
|
---|
| 26 | #error DO NOT USE THE DLL VERSION: IT IS STILL IN PROGRESS.
|
---|
| 27 | #endif
|
---|
| 28 |
|
---|
| 29 | /**
|
---|
| 30 | FCollada exception handling.
|
---|
| 31 | Force this #define to 0 to disallow exception handling within the FCollada library.
|
---|
| 32 | By default, a debug library will no handle exceptions so that your debugger can.
|
---|
| 33 | In release, all exceptions should be handled so that your users receive a meaningful message,
|
---|
| 34 | rather than crash your application. Force this #define to 0 only if your platform does not
|
---|
| 35 | support exception handling.
|
---|
| 36 | */
|
---|
| 37 | #ifdef _DEBUG
|
---|
| 38 | #define FCOLLADA_EXCEPTION 0
|
---|
| 39 | #else
|
---|
| 40 | #define FCOLLADA_EXCEPTION 1
|
---|
| 41 | #endif
|
---|
| 42 |
|
---|
| 43 | #include "FUtils/FUtils.h"
|
---|
| 44 |
|
---|
| 45 | /**
|
---|
| 46 | FCollada version number.
|
---|
| 47 | You should verify that you have the correct version, if you use the FCollada library as a DLLs.
|
---|
| 48 | For a history of version, check the Changes.txt file.
|
---|
| 49 | */
|
---|
| 50 | #define FCOLLADA_VERSION 0x00010009 /* MMMM.NNNN */
|
---|
| 51 |
|
---|
| 52 | /**
|
---|
| 53 | This namespace contains FCollada global functions and member variables
|
---|
| 54 | */
|
---|
| 55 | namespace FCollada
|
---|
| 56 | {
|
---|
| 57 | /** Retrieves the FCollada version number.
|
---|
| 58 | Used for DLL-versions of the FCollada library: verify that you have a compatible version
|
---|
| 59 | of the FCollada library using this function.
|
---|
| 60 | @return The FCollada version number. */
|
---|
| 61 | FCOLLADA_EXPORT unsigned long GetVersion();
|
---|
| 62 | }
|
---|
| 63 |
|
---|
| 64 | #endif // _FCOLLADA_H_
|
---|