src/uri.h
branchv_0
changeset 3 ae8775e0bc7a
child 4 372b161669e4
equal deleted inserted replaced
2:e753a7f967c8 3:ae8775e0bc7a
       
     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 out {
       
    21 namespace ini {
       
    22 
       
    23 // TODO: these strings will become globally unique URIs (or IRIs) after moving to alt2xml and relative/unprefixed names should also work
       
    24 
       
    25 /** general options of the INI writer */
       
    26 namespace option {
       
    27 static const wchar_t* AllowSections = L"allow-sections";
       
    28 // static const wchar_t* AllowSectionTags = L"allow-section-tags";
       
    29 // static const wchar_t* AllowSubKeys = L"allow-sub-keys";
       
    30 static const wchar_t* CommentSeparatorForSections = L"comment-separator-for-sections";
       
    31 static const wchar_t* CommentSeparatorForEntries = L"comment-separator-for-entries";
       
    32 static const wchar_t* CommentSeparatorStandalone = L"comment-separator-standalone";
       
    33 static const wchar_t* KeyValueSeparator = L"key-value-separator";
       
    34 static const wchar_t* Quotes = L"quotes";
       
    35 static const wchar_t* Dialect = L"dialect";
       
    36 }
       
    37 
       
    38 /** names of dynamically registered escaping processors; they are also options */
       
    39 namespace escaping {
       
    40 static const wchar_t* Basic = L"escape-basic";
       
    41 static const wchar_t* JavaProperties = L"escape-java-properties";
       
    42 static const wchar_t* Backspace = L"escape-backspace";
       
    43 }
       
    44 
       
    45 /** not options but a values of the dialect option */
       
    46 namespace dialect {
       
    47 static const wchar_t* JavaProperties = L"java-properties";
       
    48 static const wchar_t* JavaManifestMF = L"java-manifest-mf";
       
    49 }
       
    50 
       
    51 }
       
    52 }
       
    53 }