epoc32/include/stdapis/stlport/fstream.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
     1.1 --- a/epoc32/include/stdapis/stlport/fstream.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/stdapis/stlport/fstream.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,61 @@
     1.4 -fstream.h
     1.5 +/*
     1.6 + * © Portions copyright (c) 2006-2007 Nokia Corporation.  All rights reserved.
     1.7 + *
     1.8 + * Copyright (c) 1999 
     1.9 + * Boris Fomitchev
    1.10 + *
    1.11 + * This material is provided "as is", with absolutely no warranty expressed
    1.12 + * or implied. Any use is at your own risk.
    1.13 + *
    1.14 + * Permission to use or copy this software for any purpose is hereby granted 
    1.15 + * without fee, provided the above notices are retained on all copies.
    1.16 + * Permission to modify the code and to distribute modified code is granted,
    1.17 + * provided the above notices are retained, and a notice that the code was
    1.18 + * modified is included with the above copyright notice.
    1.19 + *
    1.20 + */
    1.21 +
    1.22 +#ifndef _STLP_FSTREAM_H
    1.23 +# define _STLP_FSTREAM_H
    1.24 +
    1.25 +# ifndef _STLP_OUTERMOST_HEADER_ID
    1.26 +#  define _STLP_OUTERMOST_HEADER_ID 0x2026
    1.27 +#  include <stl/_prolog.h>
    1.28 +# endif
    1.29 +
    1.30 +# if defined (_STLP_OWN_IOSTREAMS)
    1.31 +#ifdef __BORLANDC__
    1.32 +#  include <fstream.>
    1.33 +#else
    1.34 +#  include <fstream>
    1.35 +#endif
    1.36 +// get desired pollution
    1.37 +#  include <iostream.h>
    1.38 +
    1.39 +# ifndef __LOCALE_INITIALIZED
    1.40 +#  define __LOCALE_INITIALIZED
    1.41 +# if !defined(__LIBSTD_CPP_SYMBIAN32_WSD__) && !defined(_STLP_LIBSTD_CPP_NO_STATIC_VAR_)
    1.42 +// Global initializer object, to ensure initialization of locale subsystem.
    1.43 +static ios_base::_Loc_init _LocInit;
    1.44 +# endif
    1.45 +# endif
    1.46 +
    1.47 +#  ifndef _STLP_HAS_NO_NAMESPACES
    1.48 +#   include <using/fstream>
    1.49 +#  endif
    1.50 +
    1.51 +# elif ! defined (_STLP_USE_NO_IOSTREAMS)
    1.52 +# include <wrap_std/h/fstream.h>
    1.53 +# endif
    1.54 +
    1.55 +# if (_STLP_OUTERMOST_HEADER_ID == 0x2026)
    1.56 +#  include <stl/_epilog.h>
    1.57 +#  undef _STLP_OUTERMOST_HEADER_ID
    1.58 +# endif
    1.59 +
    1.60 +#endif /* _STLP_FSTREAM_H */
    1.61 +
    1.62 +// Local Variables:
    1.63 +// mode:C++
    1.64 +// End:
    1.65 +