00001 /*00002 * Copyright 1999-2004 The Apache Software Foundation.00003 *00004 * Licensed under the Apache License, Version 2.0 (the "License");00005 * you may not use this file except in compliance with the License.00006 * You may obtain a copy of the License at00007 *00008 * http://www.apache.org/licenses/LICENSE-2.000009 *00010 * Unless required by applicable law or agreed to in writing, software00011 * distributed under the License is distributed on an "AS IS" BASIS,00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.00013 * See the License for the specific language governing permissions and00014 * limitations under the License.00015 */00016
00017 #if !defined(DOMSUPPORTINIT_INCLUDE_GUARD_1357924680)00018#define DOMSUPPORTINIT_INCLUDE_GUARD_135792468000019
00020
00021
00022 // Base include file. Must be first.00023 #include <xalanc/DOMSupport/DOMSupportDefinitions.hpp>00024
00025
00026
00027 #include <xalanc/PlatformSupport/PlatformSupportInit.hpp>00028
00029
00030
00031 XALAN_CPP_NAMESPACE_BEGIN
00032
00033
00034
00035class XALAN_DOMSUPPORT_EXPORTDOMSupportInit00036 {
00037 public:
00038
00039 explicit00040 DOMSupportInit(MemoryManagerType& theManager);
00041
00042 ~DOMSupportInit();
00043
00044 private:
00045
00046 // Not implemented...00047 DOMSupportInit(constDOMSupportInit&);
00048
00049 DOMSupportInit&
00050 operator=(constDOMSupportInit&);
00051
00052
00053 staticvoid00054 initialize(MemoryManagerType& theManager);
00055
00056 staticvoid00057 terminate();
00058
00059 constPlatformSupportInit m_platformSupportInit;
00060
00061 staticunsignedlong s_initCounter;
00062 };
00063
00064
00065
00066 XALAN_CPP_NAMESPACE_END
00067
00068
00069
00070 #endif // !defined(DOMSUPPORTINIT_INCLUDE_GUARD_1357924680)