epoc32/include/stdapis/stlport/fstream.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     1 /*
     2  * © Portions copyright (c) 2006-2007 Nokia Corporation.  All rights reserved.
     3  *
     4  * Copyright (c) 1999 
     5  * Boris Fomitchev
     6  *
     7  * This material is provided "as is", with absolutely no warranty expressed
     8  * or implied. Any use is at your own risk.
     9  *
    10  * Permission to use or copy this software for any purpose is hereby granted 
    11  * without fee, provided the above notices are retained on all copies.
    12  * Permission to modify the code and to distribute modified code is granted,
    13  * provided the above notices are retained, and a notice that the code was
    14  * modified is included with the above copyright notice.
    15  *
    16  */
    17 
    18 #ifndef _STLP_FSTREAM_H
    19 # define _STLP_FSTREAM_H
    20 
    21 # ifndef _STLP_OUTERMOST_HEADER_ID
    22 #  define _STLP_OUTERMOST_HEADER_ID 0x2026
    23 #  include <stl/_prolog.h>
    24 # endif
    25 
    26 # if defined (_STLP_OWN_IOSTREAMS)
    27 #ifdef __BORLANDC__
    28 #  include <fstream.>
    29 #else
    30 #  include <fstream>
    31 #endif
    32 // get desired pollution
    33 #  include <iostream.h>
    34 
    35 # ifndef __LOCALE_INITIALIZED
    36 #  define __LOCALE_INITIALIZED
    37 # if !defined(__LIBSTD_CPP_SYMBIAN32_WSD__) && !defined(_STLP_LIBSTD_CPP_NO_STATIC_VAR_)
    38 // Global initializer object, to ensure initialization of locale subsystem.
    39 static ios_base::_Loc_init _LocInit;
    40 # endif
    41 # endif
    42 
    43 #  ifndef _STLP_HAS_NO_NAMESPACES
    44 #   include <using/fstream>
    45 #  endif
    46 
    47 # elif ! defined (_STLP_USE_NO_IOSTREAMS)
    48 # include <wrap_std/h/fstream.h>
    49 # endif
    50 
    51 # if (_STLP_OUTERMOST_HEADER_ID == 0x2026)
    52 #  include <stl/_epilog.h>
    53 #  undef _STLP_OUTERMOST_HEADER_ID
    54 # endif
    55 
    56 #endif /* _STLP_FSTREAM_H */
    57 
    58 // Local Variables:
    59 // mode:C++
    60 // End:
    61