hiro/cocoa/action/action.cpp
raw| 1 | #if defined(Hiro_Action) |
| 2 | |
| 3 | namespace hiro { |
| 4 | |
| 5 | auto pAction::construct() -> void { |
| 6 | } |
| 7 | |
| 8 | auto pAction::destruct() -> void { |
| 9 | } |
| 10 | |
| 11 | auto pAction::setEnabled(bool enabled) -> void { |
| 12 | [cocoaAction setEnabled:enabled]; |
| 13 | } |
| 14 | |
| 15 | auto pAction::setVisible(bool visible) -> void { |
| 16 | [cocoaAction setHidden:!visible]; |
| 17 | } |
| 18 | |
| 19 | } |
| 20 | |
| 21 | #endif |