src/lib/uri.h
branchv_0
changeset 28 596a724fbb83
child 29 f0bf2755249f
equal deleted inserted replaced
27:e9aad9dd823a 28:596a724fbb83
       
     1 /**
       
     2  * Relational pipes
       
     3  * Copyright © 2020 František Kučera (Frantovo.cz, GlobalCode.info;
       
     4  *
       
     5  * This program is free software: you can redistribute it and/or modify
       
     6  * it under the terms of the GNU General Public License as published by
       
     7  * the Free Software Foundation, version 3 of the License.
       
     8  *
       
     9  * This program is distributed in the hope that it will be useful,
       
    10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
       
    12  * GNU General Public License for more details.
       
    13  *
       
    14  * You should have received a copy of the GNU General Public License
       
    15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
       
    16  */
       
    17 #pragma once
       
    18 
       
    19 namespace relpipe {
       
    20 namespace in {
       
    21 namespace ini {
       
    22 namespace lib {
       
    23 
       
    24 // TODO: these strings will become globally unique URIs (or IRIs) after moving to alt2xml and relative/unprefixed names should also work
       
    25 
       
    26 namespace option {
       
    27 static const char* TrimContinuingLines = "trim-continuing-lines";
       
    28 static const char* AllowSections = "allow-sections";
       
    29 static const char* AllowSectionTags = "allow-section-tags";
       
    30 static const char* AllowSubKeys = "allow-sub-keys";
       
    31 static const char* CommentSeparators = "comment-separators";
       
    32 static const char* KeyValueSeparators = "key-value-separators";
       
    33 static const char* Quotes = "quotes";
       
    34 static const char* Dialect = "dialect";
       
    35 }
       
    36 
       
    37 namespace unescaping {
       
    38 static const char* Basic = "unescape-basic";
       
    39 static const char* JavaProperties = "unescape-java-properties";
       
    40 static const char* BackspaceDisorder = "unescape-backspace-disorder"; // TODO: remove BackspaceDisorder
       
    41 static const char* Backspace = "unescape-backspace";
       
    42 }
       
    43 
       
    44 namespace dialect {
       
    45 static const char* JavaProperties = "java-properties";
       
    46 }
       
    47 
       
    48 }
       
    49 }
       
    50 }
       
    51 }