acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
topic.h
1
// Injected in acme (camilo) from apex(thomas) by camilo on ThomasMonth19-2021 12:27 BRT
2
// Merge with control_"topic" by camilo on day after ThomasBirthday2021 10:14
3
// Created by camilo on 2021-02-04 18:05 <3ThomasBorregaardSorensen!!
4
// Renamed to topic by camilo on 2021-02-04 18:05 <3ThomasBorregaardSorensen!!
5
#pragma once
6
7
9
#include "acme/prototype/prototype/action_context.h"
10
11
12
class
extended_topic
;
13
14
15
class
CLASS_DECL_ACME topic :
16
virtual
public
::property_object
17
{
18
public
:
19
20
21
bool
m_bRet;
22
bool
m_bOk;
23
::item_pointer m_pitem;
24
::user::e_key m_ekey;
25
::action_context
m_actioncontext;
26
::pointer<::property_object> m_psender;
27
::pointer<::user::element> m_puserelement;
// user::interaction
28
::pointer<::particle> m_pparticle;
29
::u64 m_uUpdateSerial;
30
::wparam
m_wparam;
31
::lparam
m_lparam;
32
::lresult m_lresult;
33
//::pointer<::user::activation_token> m_puseractivationtoken;
34
35
36
topic(const ::atom &
atom
)
37
{
38
39
m_atomMatterId =
atom
;
40
m_bOk =
true
;
41
m_bRet =
false
;
42
43
}
44
45
~topic()
override
46
{
47
48
}
49
50
51
void
Nok()
52
{
53
54
m_bOk =
false
;
55
56
m_bRet =
true
;
57
58
}
59
60
61
void
Ret()
62
{
63
64
m_bRet =
true
;
65
66
}
67
68
69
void
Ok()
70
{
71
72
m_bOk =
true
;
73
74
m_bRet =
true
;
75
76
}
77
78
79
virtual ::user::interaction * user_interaction();
80
81
virtual ::acme::user::interaction * acme_user_interaction();
82
83
virtual ::user::activation_token * user_activation_token();
84
85
::atom
user_interaction_id()
const
;
86
87
88
virtual ::extended_topic * _extended_topic() {
return
nullptr
; }
89
virtual
const ::extended_topic * _extended_topic()
const
{
return
nullptr
; }
90
91
92
virtual ::user::form * get_form()
const
;
93
94
95
virtual ::user::element * get_form_user_element()
const
;
96
97
98
virtual
bool
is_about(::user::element * pelement)
const
;
99
100
101
virtual
bool
topic_step();
102
103
104
};
105
106
107
action_context
Definition
action_context.h:9
atom
Definition
atom.h:237
extended_topic
Definition
extended_topic.h:15
lparam
Definition
lparam.h:9
wparam
Definition
wparam.h:10
handler
topic.h
Generated by
1.17.0