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(PLATFORMSUPPORTINIT_INCLUDE_GUARD_1357924680)00018#define PLATFORMSUPPORTINIT_INCLUDE_GUARD_135792468000019
00020
00021
00022 // Base include file. Must be first.00023 #include <xalanc/PlatformSupport/PlatformSupportDefinitions.hpp>00024
00025
00026
00027 #include <xalanc/XalanDOM/XalanDOMInit.hpp>00028
00029
00030
00031 XALAN_CPP_NAMESPACE_BEGIN
00032
00033
00034
00035class XALAN_PLATFORMSUPPORT_EXPORTPlatformSupportInit00036 {
00037 public:
00038
00039 PlatformSupportInit(MemoryManagerType& theManager);
00040
00041 ~PlatformSupportInit();
00042
00043 private:
00044
00045 // Not implemented...00046 PlatformSupportInit(constPlatformSupportInit&);
00047
00048 PlatformSupportInit&
00049 operator=(constPlatformSupportInit&);
00050
00051
00052 staticvoid00053 initialize(MemoryManagerType& theManager);
00054
00055 staticvoid00056 terminate();
00057
00058 constXalanDOMInit m_xalanDOMInit;
00059
00060 staticunsignedlong s_initCounter;
00061 };
00062
00063
00064
00065 XALAN_CPP_NAMESPACE_END
00066
00067
00068
00069 #endif // !defined(ARENAALLOCATOR_INCLUDE_GUARD_1357924680)