root/OpenSceneGraph/trunk/src/osgPlugins/OpenFlight/Utils.h @ 13041

Revision 13041, 1.0 kB (checked in by robert, 2 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
Line 
1/*
2 * This library is open source and may be redistributed and/or modified under
3 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or (at
4 * your option) any later version. The full license is in the LICENSE file
5 * included with this distribution, and on the openscenegraph.org website.
6 *
7 * This library is distributed in the hope that it will be useful, but
8 * WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * OpenSceneGraph Public License for more details.
11*/
12
13//
14// Copyright(c) 2008 Skew Matrix Software LLC.
15//
16
17#ifndef __FLTEXP_UTILS_H__
18#define __FLTEXP_UTILS_H__ 1
19
20
21// FLTEXP_DELETEFILE macro is used to delete temp files created during file export.
22// (Too bad OSG doesn't use Boost.)
23
24#if defined(_WIN32)
25
26    #include <windows.h>
27    #define FLTEXP_DELETEFILE(file) DeleteFile((file))
28
29#else   // Unix
30
31    #include <stdio.h>
32    #define FLTEXP_DELETEFILE(file) remove((file))
33
34#endif
35
36#endif
Note: See TracBrowser for help on using the browser.