summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ui.sh4
-rw-r--r--src/ui/cli.sh15
2 files changed, 18 insertions, 1 deletions
diff --git a/src/ui.sh b/src/ui.sh
index 603f714..3df6bc7 100644
--- a/src/ui.sh
+++ b/src/ui.sh
@@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-ui_functions='dbg info warn err show_menu'
+ui_functions='exit_ui resume_ui dbg info warn err show_menu'
init_ui()
{
@@ -34,4 +34,6 @@ init_ui()
for fn in ${ui_functions}; do
eval "${fn}() { ${ui}_${fn} \"\${@}\"; }"
done
+
+ ${ui}_init_ui
}
diff --git a/src/ui/cli.sh b/src/ui/cli.sh
index a8af8dd..b9ae2ea 100644
--- a/src/ui/cli.sh
+++ b/src/ui/cli.sh
@@ -15,6 +15,21 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+cli_init_ui()
+{
+ : Nothing to do.
+}
+
+cli_exit_ui()
+{
+ : Nothing to do.
+}
+
+cli_resume_ui()
+{
+ : Nothing to do.
+}
+
cli_dbg()
{
local fmt="${1}"