From 17c5f13c58417e5c02ad8647058bf7d04072cbb8 Mon Sep 17 00:00:00 2001 From: sebinside Date: Sat, 6 Apr 2019 22:35:44 +0200 Subject: [PATCH] Added the idea of UI utilities. --- .../chatoverflow/ui/common/UIUtilities.scala | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/main/scala/org/codeoverflow/chatoverflow/ui/common/UIUtilities.scala diff --git a/src/main/scala/org/codeoverflow/chatoverflow/ui/common/UIUtilities.scala b/src/main/scala/org/codeoverflow/chatoverflow/ui/common/UIUtilities.scala new file mode 100644 index 00000000..d5e36a83 --- /dev/null +++ b/src/main/scala/org/codeoverflow/chatoverflow/ui/common/UIUtilities.scala @@ -0,0 +1,13 @@ +package org.codeoverflow.chatoverflow.ui.common + +import org.codeoverflow.chatoverflow.ChatOverflow + +/** + * UIUtilities encapsulate common requests to the chat overflow framework that + * are used by more than one UIs, e.g. REPL and GUI. + * + * @param chatOverflow the chat overflow framework object to operate on + */ +class UIUtilities(chatOverflow: ChatOverflow) { + // TODO: Refactor REPL & WIP-GUI. Most of the work should be brought together, here. +}