GabrielTofvesson eeaf8c708f Revised and refactored OutputFormatter
- OutputFormatter is now renamed to CommandHandler
CommandHandler now supports full command management
  - Dynamically generates command list (for "help")
  - Added Command class which specifies the structure of a command
  - Added struct specifying the structure of a command parameter
Added exception handling to networking
Moved shared layout resource to Common layout file
2018-05-02 22:26:19 +02:00

72 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="Client.ConsoleForms.Graphics">
<!-- Networking context -->
<InputView id="NetConnect"
padding_left="2"
padding_right="2"
padding_top="1"
padding_bottom="1">
<Fields>
<Field input_type="decimal" max_length="15">@string/NC_ip</Field>
<Field default="80" input_type="integer" max_length="5">@string/NC_port</Field>
</Fields>
<Text>@string/NC_head</Text>
</InputView>
<DialogView id="SecurityIssue"
padding_left="2"
padding_right="2"
padding_top="1"
padding_bottom="1"
select="1">
<Options>
<Option>@string/NC_next</Option>
<Option>@string/NC_cancel</Option>
</Options>
<Text>@string/NC_sec</Text>
</DialogView>
<DialogView id="Connecting"
padding_left="2"
padding_right="2"
padding_top="1"
padding_bottom="1">
<Options>
<Option>@string/NC_cancel</Option>
</Options>
<Text>@string/NC_stall</Text>
</DialogView>
<DialogView id="IdentityVerify"
padding_left="2"
padding_right="2"
padding_top="1"
padding_bottom="1">
<Options>
<Option>@string/NC_cancel</Option>
</Options>
<Text>@string/NC_identity</Text>
</DialogView>
<DialogView id="IPError"
padding_left="2"
padding_right="2"
padding_top="1"
padding_bottom="1">
<Options>
<Option>@string/GENERIC_accept</Option>
</Options>
<Text>@string/NC_iperr</Text>
</DialogView>
<DialogView id="PortError"
padding_left="2"
padding_right="2"
padding_top="1"
padding_bottom="1">
<Options>
<Option>@string/GENERIC_accept</Option>
</Options>
<Text>@string/NC_porterr</Text>
</DialogView>
</Elements>