aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/TextHostControlService.h
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-11-03 20:04:52 +0800
committerYuqian Yang <crupest@crupest.life>2025-11-03 20:04:52 +0800
commit06f16479ae1b727252404b763b60c924e3fe7903 (patch)
tree09cdf8e5e90ac85ea19840fad1a2cd149c1fc3f6 /include/cru/ui/controls/TextHostControlService.h
parent5b46d14997c2ff2244f303216e4e286665ac8a42 (diff)
downloadcru-06f16479ae1b727252404b763b60c924e3fe7903.tar.gz
cru-06f16479ae1b727252404b763b60c924e3fe7903.tar.bz2
cru-06f16479ae1b727252404b763b60c924e3fe7903.zip
Remove Object2.
Diffstat (limited to 'include/cru/ui/controls/TextHostControlService.h')
-rw-r--r--include/cru/ui/controls/TextHostControlService.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/cru/ui/controls/TextHostControlService.h b/include/cru/ui/controls/TextHostControlService.h
index a945e427..529225a7 100644
--- a/include/cru/ui/controls/TextHostControlService.h
+++ b/include/cru/ui/controls/TextHostControlService.h
@@ -30,7 +30,7 @@ struct CRU_UI_API ITextHostControl : virtual Interface {
class TextHostControlService;
-class TextControlMovePattern : public Object {
+class TextControlMovePattern {
public:
static TextControlMovePattern kLeft;
static TextControlMovePattern kRight;
@@ -57,11 +57,6 @@ class TextControlMovePattern : public Object {
key_bind_(key_bind),
move_function_(move_function) {}
- CRU_DEFAULT_COPY(TextControlMovePattern)
- CRU_DEFAULT_MOVE(TextControlMovePattern)
-
- ~TextControlMovePattern() override = default;
-
public:
std::string GetName() const { return name_; }
helper::ShortcutKeyBind GetKeyBind() const { return key_bind_; }
@@ -81,10 +76,6 @@ class CRU_UI_API TextHostControlService : public Object {
public:
TextHostControlService(Control* control);
-
- CRU_DELETE_COPY(TextHostControlService)
- CRU_DELETE_MOVE(TextHostControlService)
-
~TextHostControlService();
public: