epoc32/include/stdapis/stlport/cstd/ctime
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
     1.1 --- a/epoc32/include/stdapis/stlport/cstd/ctime	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/stdapis/stlport/cstd/ctime	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,62 @@
     1.4 -ctime
     1.5 +/*
     1.6 + * Copyright (c) 1999 
     1.7 + * Boris Fomitchev
     1.8 + *
     1.9 + * This material is provided "as is", with absolutely no warranty expressed
    1.10 + * or implied. Any use is at your own risk.
    1.11 + *
    1.12 + * Permission to use or copy this software for any purpose is hereby granted 
    1.13 + * without fee, provided the above notices are retained on all copies.
    1.14 + * Permission to modify the code and to distribute modified code is granted,
    1.15 + * provided the above notices are retained, and a notice that the code was
    1.16 + * modified is included with the above copyright notice.
    1.17 + *
    1.18 + */
    1.19 +
    1.20 +#ifndef _STLP_CTIME
    1.21 +# define _STLP_CTIME
    1.22 +
    1.23 +# ifndef _STLP_OUTERMOST_HEADER_ID
    1.24 +#  define _STLP_OUTERMOST_HEADER_ID 0x118
    1.25 +#  include <stl/_prolog.h>
    1.26 +# endif
    1.27 +
    1.28 +# if defined (_STLP_USE_NEW_C_HEADERS)
    1.29 +#  include _STLP_NATIVE_CPP_C_HEADER(ctime)
    1.30 +# else
    1.31 +#ifdef __SYMBIAN32__
    1.32 +#  include <time.h>
    1.33 +#else
    1.34 +# include _STLP_NATIVE_C_HEADER(time.h)
    1.35 +#endif
    1.36 +# endif
    1.37 +
    1.38 +# ifdef _STLP_IMPORT_VENDOR_CSTD
    1.39 +_STLP_BEGIN_NAMESPACE
    1.40 +using _STLP_VENDOR_CSTD::size_t;
    1.41 +using _STLP_VENDOR_CSTD::clock_t;
    1.42 +using _STLP_VENDOR_CSTD::time_t;
    1.43 +using _STLP_VENDOR_CSTD::tm;
    1.44 +#  ifndef _STLP_NO_CSTD_FUNCTION_IMPORTS
    1.45 +using _STLP_VENDOR_CSTD::clock;
    1.46 +using _STLP_VENDOR_CSTD::asctime;
    1.47 +using _STLP_VENDOR_CSTD::ctime;
    1.48 +using _STLP_VENDOR_CSTD::gmtime;
    1.49 +using _STLP_VENDOR_CSTD::difftime;
    1.50 +using _STLP_VENDOR_CSTD::mktime;
    1.51 +using _STLP_VENDOR_CSTD::localtime;
    1.52 +using _STLP_VENDOR_CSTD::strftime;
    1.53 +using _STLP_VENDOR_CSTD::time;
    1.54 +#  endif /* _STLP_NO_CSTD_FUNCTION_IMPORTS */
    1.55 +_STLP_END_NAMESPACE
    1.56 +#endif /* _STLP_IMPORT_VENDOR_CSTD */
    1.57 +
    1.58 +# if (_STLP_OUTERMOST_HEADER_ID == 0x118)
    1.59 +#  include <stl/_epilog.h>
    1.60 +#  undef _STLP_OUTERMOST_HEADER_ID
    1.61 +# endif
    1.62 +
    1.63 +#endif /* _STLP_CTIME */
    1.64 +// Local Variables:
    1.65 +// mode:C++
    1.66 +// End: