uses enum
[scilab.git] / scilab / modules / output_stream / src / cpp / DiaryModesEnum.hxx
1 /*--------------------------------------------------------------------------*/ 
2 /*
3 * ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) DIGITEO - 2009 - Allan CORNET
5
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution.  The terms
9 * are also available at    
10 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 */
13 /*--------------------------------------------------------------------------*/ 
14 #ifndef __DIARYMODESENUM_HXX__
15 #define __DIARYMODESENUM_HXX__
16
17 typedef enum { 
18         PREFIX_TIME_FORMAT_ERROR = -1,
19         PREFIX_TIME_FORMAT_UNIX_EPOCH = 0,
20         PREFIX_TIME_FORMAT_ISO_8601 = 1
21 } diary_prefix_time_format;
22
23 typedef enum { 
24         PREFIX_FILTER_ERROR = -1,
25         PREFIX_FILTER_INPUT_AND_OUTPUT = 0,
26         PREFIX_FILTER_ONLY_INPUT = 1,
27         PREFIX_FILTER_ONLY_OUTPUT = 2,
28         PREFIX_FILTER_NONE = 3
29 } diary_prefix_time_filter;
30
31 typedef enum { 
32         DIARY_FILTER_ERROR = -1,
33         DIARY_FILTER_INPUT_AND_OUTPUT = 0,
34         DIARY_FILTER_ONLY_INPUT = 1,
35         DIARY_FILTER_ONLY_OUTPUT = 2,
36 } diary_filter;
37
38 #endif /* __DIARYMODESENUM_HXX__ */
39 /*--------------------------------------------------------------------------*/