epoc32/include/stdapis/stlportv5/wsd_streams.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/stlportv5/wsd_streams.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,52 @@
     1.4 +/*
     1.5 +* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description:
    1.18 +* Name        : wsd_streams.h
    1.19 +* Part of     : standard c++ library.
    1.20 +* 
    1.21 +*
    1.22 +*/
    1.23 +
    1.24 +
    1.25 +
    1.26 +#ifndef WSD_STREAMS_H_
    1.27 +#define WSD_STREAMS_H_
    1.28 +
    1.29 +
    1.30 +
    1.31 +/********************** stream related ****************/
    1.32 +inline long& std::ios_base::Init::get_ios_base_Init_S_count()
    1.33 +	{
    1.34 +		return get_libcpp_wsd().ios_base_Init_S_count;
    1.35 +	}
    1.36 +
    1.37 +//_ios_base.h
    1.38 +inline bool& std::ios_base::get_ios_base_S_was_synced()
    1.39 +	{
    1.40 +		return get_libcpp_wsd().ios_base_S_was_synced;
    1.41 +	}
    1.42 +//ios.cpp - function static in ios_base::xalloc()
    1.43 +inline int& get_ios_base_xalloc_S_index()
    1.44 +	{
    1.45 +	return get_libcpp_wsd().ios_base_xalloc_S_index;
    1.46 +	}
    1.47 +
    1.48 +//ios.cpp - function static in ios_base::xalloc()
    1.49 +inline std::_STLP_STATIC_MUTEX& get_ios_base_xalloc_lock()
    1.50 +	{
    1.51 +	return get_libcpp_wsd().ios_base_xalloc_lock;
    1.52 +	}
    1.53 +
    1.54 +
    1.55 +#endif /*WSD_STREAMS_H_*/