gui_session: remove C++ exceptions

To maintain ease of use at the client side, the OUT_OF_RAM and
OUT_OF_CAPS results are handled at the 'Gui::Connection' now.

Gui::Connection does not inherit the Gui::Session interface any longer,
which allows for the use of different result types.

Issue #5242
Issue #5245
This commit is contained in:
Norman Feske
2024-08-05 13:47:22 +02:00
committed by Christian Helmuth
parent 1c148c7984
commit 9823b7dbd0
22 changed files with 523 additions and 344 deletions

View File

@ -352,7 +352,7 @@ class Log_view
{
private:
Gui::Session_client &_gui;
Gui::Connection &_gui;
Gui::Point _pos;
Gui::Area _size;
Gui::Session::View_handle _handle;
@ -362,7 +362,7 @@ class Log_view
public:
Log_view(Gui::Session_client &gui, Gui::Rect geometry)
Log_view(Gui::Connection &gui, Gui::Rect geometry)
:
_gui(gui),
_pos(geometry.at),