acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
check.h
1// Changed by camilo with
2// property* system on 2024-06-08 01:58 <3ThomasBorregaardSorensen!!
3#pragma once
4
5
6//#include "acme/prototype/prototype/payload.h"
8#include "acme/user/user/control.h"
9#include "acme/user/user/property.h"
10#include "acme/user/user/check_property.h"
11#include "acme/prototype/data/property_listener.h"
12
13
14
15namespace user
16{
17
18
19 class CLASS_DECL_ACME check :
20 virtual public ::user::control
21 {
22 public:
23
24
25 //::data::property_will_change m_propertywillchange;
26 //::data::property_changed m_propertychanged;
27 //::comparable_array < check_will_change > m_checkwillchangea;
28 //::comparable_array < check_changed > m_checkchangeda;
29 //void unhook_callbacks();
30 //void hook_callbacks();
31
32 ::user::check_property m_checkproperty;
33
34
35 public:
36
37
38 check();
39 ~check();
40
41
42 void set_check_property(const ::data::check_property & checkproperty);
43
44 ::user::check_property check_property() const;
45
46
47 virtual bool on_check_will_change(::data::check_change & checkchange);
48 virtual void on_check_changed(::data::check_change & checkchange);
49
50 virtual ::e_check echeck() const;
51
52 virtual bool is_checked() const;
53
54 //bool is_checked() const;
55
56
57 bool set_check(::e_check echeck, const ::action_context & actioncontext);
58 bool toggle_check(const ::action_context & actioncontext);
59
60 add_signal_function_to_holder < ::data::check_will_change > check_will_change(::object * pobjectFunctionContainer);
61 add_signal_function_to_holder < ::data::check_changed > check_changed(::object * pobjectFunctionContainer);
62
63
64 };
65
66
67} // namespace user
68
69
70
Definition bbb_object.h:11
Created by camilo on 2026-05-28 12:34 <3ThomasBorregaardSørensen!! Mummi!! Bilbo!!
Definition _.h:67
Definition check_property.h:19