acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
aaa_action_item_exchange.h
1
#pragma once
2
3
4
struct
CLASS_DECL_ACME action_item_exchange
5
{
6
7
::i32 m_iIndex;
8
char_pointer m_pszName;
9
char_pointer m_pszId;
10
char_pointer m_pszLabel;
11
char_pointer m_pszAccelerator;
12
char_pointer m_pszDescription;
13
14
action_item_exchange(::i32 iIndex, const ::scoped_string & scopedstrName, const ::scoped_string & scopedstrId, const ::scoped_string & scopedstrLabel, const ::scoped_string & scopedstrAccelerator, const ::scoped_string & scopedstrDescription)
15
{
16
17
m_iIndex = iIndex;
18
m_pszName = strdup(scopedstrName);
19
m_pszId = strdup(scopedstrId);
20
m_pszLabel = strdup(scopedstrLabel);
21
m_pszAccelerator = strdup(scopedstrAccelerator);
22
m_pszDescription = strdup(scopedstrDescription);
23
24
}
25
26
27
action_item_exchange(action_item_exchange && e)
28
{
29
30
::memory_copy(
this
, &e,
sizeof
(action_item_exchange));
31
::memory_set(&e, 0,
sizeof
(action_item_exchange));
32
33
}
34
35
36
~action_item_exchange()
37
{
38
39
::acme::free(m_pszName);
40
::acme::free(m_pszId);
41
::acme::free(m_pszLabel);
42
::acme::free(m_pszAccelerator);
43
::acme::free(m_pszDescription);
44
45
}
46
47
};
48
49
50
user
user
_aaa2025
aaa_action_item_exchange.h
Generated by
1.17.0