epoc32/include/stdapis/stlport/fstream.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 0 061f57f2323e
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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