1 /*
2  * Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3  *           (C) 2020 Vladimir Sadovnikov <sadko4u@gmail.com>
4  *
5  * This file is part of lsp-plugins
6  * Created on: 13 июл. 2019 г.
7  *
8  * lsp-plugins is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU Lesser General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * any later version.
12  *
13  * lsp-plugins is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with lsp-plugins. If not, see <https://www.gnu.org/licenses/>.
20  */
21 
22 #ifndef CORE_FILES_CONFIG_FLAGS_H_
23 #define CORE_FILES_CONFIG_FLAGS_H_
24 
25 namespace lsp
26 {
27     namespace config
28     {
29         enum serialize_flags_t
30         {
31             SF_NONE         = 0,
32 
33             SF_TYPE_NATIVE  = 0x00,
34             SF_TYPE_I32     = 0x01,
35             SF_TYPE_U32     = 0x02,
36             SF_TYPE_I64     = 0x03,
37             SF_TYPE_U64     = 0x04,
38             SF_TYPE_F32     = 0x05,
39             SF_TYPE_F64     = 0x06,
40             SF_TYPE_STR     = 0x07,
41             SF_TYPE_BLOB    = 0x08,
42 
43             SF_TYPE_MASK    = 0x0f,
44 
45             SF_QUOTED       = 1 << 4,
46         };
47     }
48 }
49 
50 
51 #endif /* CORE_FILES_CONFIG_FLAGS_H_ */
52