From 3a100972d7d160565cebf9be7cc87853efbb9427 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Sat, 4 Aug 2018 19:07:21 +0200 Subject: [PATCH] UI-Lifecycle: send up a dummy notification message to indicate start of content population right now this will just end up in the log, since not even the notification display is implemented beyond the GuiNotification-facade. Anyway, we get some kind of communication now for real, in the actual application --- src/proc/cmd/meta-cmd.cpp | 3 +++ wiki/thinkPad.ichthyo.mm | 48 ++++++++++++++++++++++++++++++++++++++- 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/src/proc/cmd/meta-cmd.cpp b/src/proc/cmd/meta-cmd.cpp index 199ca36d3..100eddfe3 100644 --- a/src/proc/cmd/meta-cmd.cpp +++ b/src/proc/cmd/meta-cmd.cpp @@ -38,6 +38,7 @@ #include "proc/cmd.hpp" #include "proc/control/command-def.hpp" //#include "proc/mobject/session.hpp" +#include "include/gui-notification-facade.h" //#include "lib/symbol.hpp" #include "lib/idi/entry-id.hpp" //#include "lib/format-string.hpp" @@ -78,6 +79,8 @@ COMMAND_DEFINITION (test_meta_activateContentDiff) { TODO ("send a population diff starting from scratch"); TODO ("activate life-update service within the session"); + // Temporary hack to get any meaningful UI <-> Proc communication + gui::GuiNotification::facade().displayInfo(gui::NOTE_INFO, "Request: population-Diff from Session."); }) .captureUndo ([]() -> bool { diff --git a/wiki/thinkPad.ichthyo.mm b/wiki/thinkPad.ichthyo.mm index e82b58c68..2b3483a50 100644 --- a/wiki/thinkPad.ichthyo.mm +++ b/wiki/thinkPad.ichthyo.mm @@ -15903,11 +15903,27 @@ - + + + + + + + + + + + + + + + + + @@ -31712,6 +31728,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -32155,6 +32195,12 @@ + + + + + +