csutil/scf_implgen.h Source File (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

csutil/scf_implgen.h
Go to the documentation of this file.

    00001 /*
    00002   Crystal Space Shared Class Facility (SCF)
    00003   This header contains the parts of SCF that is needed when creating
    00004   new classes which implements SCF interfaces.
    00005
    00006   Copyright (C) 2005 by Marten Svanfeldt
    00007             (C) 2005 by Michael Adams
    00008
    00009   This library is free software; you can redistribute it and/or
    00010   modify it under the terms of the GNU Library General Public
    00011   License as published by the Free Software Foundation; either
    00012   version 2 of the License, or (at your option) any later version.
    00013
    00014   This library is distributed in the hope that it will be useful,
    00015   but WITHOUT ANY WARRANTY; without even the implied warranty of
    00016   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00017   Library General Public License for more details.
    00018
    00019   You should have received a copy of the GNU Library General Public
    00020   License along with this library; if not, write to the Free
    00021   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    00022 */
    00023
    00028 /*
    00029  * NOTICE! This file is statically preprocessed into scf_implgen_p.h.
    00030  * Read comment in top of that file if doing any changes here!
    00031  */
    00032
    00033 #if !defined(SCF_IN_IMPLEMENTATION_H) && !defined(DOXYGEN_RUN)
    00034 #error Do not include this file directly. Included from scf_implementation.h
    00035 #endif
    00036
    00037 #if 0
    00038 /* WTF... seems without a class here doxygen will ignore all the stuff
    00039  * generated below. Whatever, take it, keep it. */
    00040 class __Doxygen_Workaround__ {};
    00041 #endif
    00042
    00043 /* The deprecation turn-off may seem odd here - but MSVC emits
    00044 * deprecation warnings when using the destructor of a deprecated
    00045 * class. Since interfaces may be deprecated this may cause
    00046 * deprecation warnings emitted in ~SCF_IMPL_NAME, which is kinda silly.
    00047 */
    00048 #include "deprecated_warn_off.h"
    00049
    00050 #define SCF_IN_IMPLGEN_H 1
    00051 // Instead of duplicating the code for every scfImplementationN and
    00052 // scfImplementationExtN, the code is factored out into an include file
    00053 // that we include multiple times.
    00054 #define SCF_IMPL_N 0
    00055 #include "scf_impl.h"
    00056 #undef SCF_IMPL_N
    00057
    00058 #define SCF_IMPL_N 1
    00059 #include "scf_impl.h"
    00060 #undef SCF_IMPL_N
    00061
    00062 #define SCF_IMPL_N 2
    00063 #include "scf_impl.h"
    00064 #undef SCF_IMPL_N
    00065
    00066 #define SCF_IMPL_N 3
    00067 #include "scf_impl.h"
    00068 #undef SCF_IMPL_N
    00069
    00070 #define SCF_IMPL_N 4
    00071 #include "scf_impl.h"
    00072 #undef SCF_IMPL_N
    00073
    00074 #define SCF_IMPL_N 5
    00075 #include "scf_impl.h"
    00076 #undef SCF_IMPL_N
    00077
    00078 #define SCF_IMPL_N 6
    00079 #include "scf_impl.h"
    00080 #undef SCF_IMPL_N
    00081
    00082 #define SCF_IMPL_N 7
    00083 #include "scf_impl.h"
    00084 #undef SCF_IMPL_N
    00085 /*
    00086 #define SCF_IMPL_N 8
    00087 #include "scf_impl.h"
    00088 #undef SCF_IMPL_N
    00089
    00090 #define SCF_IMPL_N 9
    00091 #include "scf_impl.h"
    00092 #undef SCF_IMPL_N
    00093
    00094 #define SCF_IMPL_N 10
    00095 #include "scf_impl.h"
    00096 #undef SCF_IMPL_N
    00097 */
    00098 // Now all the scfImplementationExt are defined
    00099 #define SCF_IMPL_EXT
    00100
    00101 #define SCF_IMPL_N 0
    00102 #include "scf_impl.h"
    00103 #undef SCF_IMPL_N
    00104
    00105 #define SCF_IMPL_N 1
    00106 #include "scf_impl.h"
    00107 #undef SCF_IMPL_N
    00108
    00109 #define SCF_IMPL_N 2
    00110 #include "scf_impl.h"
    00111 #undef SCF_IMPL_N
    00112
    00113 #define SCF_IMPL_N 3
    00114 #include "scf_impl.h"
    00115 #undef SCF_IMPL_N
    00116
    00117 #define SCF_IMPL_N 4
    00118 #include "scf_impl.h"
    00119 #undef SCF_IMPL_N
    00120
    00121 #define SCF_IMPL_N 5
    00122 #include "scf_impl.h"
    00123 #undef SCF_IMPL_N
    00124
    00125 #define SCF_IMPL_N 6
    00126 #include "scf_impl.h"
    00127 #undef SCF_IMPL_N
    00128
    00129 #define SCF_IMPL_N 7
    00130 #include "scf_impl.h"
    00131 #undef SCF_IMPL_N
    00132 /*
    00133 #define SCF_IMPL_N 8
    00134 #include "scf_impl.h"
    00135 #undef SCF_IMPL_N
    00136
    00137 #define SCF_IMPL_N 9
    00138 #include "scf_impl.h"
    00139 #undef SCF_IMPL_N
    00140
    00141 #define SCF_IMPL_N 10
    00142 #include "scf_impl.h"
    00143 #undef SCF_IMPL_N
    00144 */
    00145 #undef SCF_IMPL_EXT
    00146 #undef SCF_IN_IMPLGEN_H
    00147
    00148 #include "deprecated_warn_on.h"