2015-12-30 06:41:46 +00:00
|
|
|
#if defined(Hiro_Action)
|
2013-03-15 13:11:33 +00:00
|
|
|
|
2015-12-30 06:41:46 +00:00
|
|
|
namespace hiro {
|
|
|
|
|
|
|
|
auto pAction::construct() -> void {
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pAction::destruct() -> void {
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pAction::setEnabled(bool enabled) -> void {
|
2013-03-15 13:11:33 +00:00
|
|
|
@autoreleasepool {
|
|
|
|
[cocoaAction setEnabled:enabled];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-12-30 06:41:46 +00:00
|
|
|
auto pAction::setVisible(bool visible) -> void {
|
2013-03-15 13:11:33 +00:00
|
|
|
@autoreleasepool {
|
|
|
|
[cocoaAction setHidden:!visible];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-12-30 06:41:46 +00:00
|
|
|
#endif
|