From f58f8a9fc33516d327620fe0059b8b855a246d30 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 24 Jan 2019 23:13:20 +0100 Subject: Move message composer to dchat core --- include/MessageComposer.hpp | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 include/MessageComposer.hpp (limited to 'include') diff --git a/include/MessageComposer.hpp b/include/MessageComposer.hpp deleted file mode 100644 index 5af065d..0000000 --- a/include/MessageComposer.hpp +++ /dev/null @@ -1,32 +0,0 @@ -#pragma once - -#include -#include - -namespace dchat -{ - struct Range - { - int start; - int end; - - int length() const - { - return end - start; - } - }; - - struct MessagePart - { - enum class Type - { - TEXT, - EMOJI - }; - - Type type; - Range textRange; - }; - - void compose(const Glib::ustring &text, std::function callbackFunc); -} \ No newline at end of file -- cgit v1.2.3