bsnes/hiro/cocoa/action/action.cpp

26 lines
361 B
C++

#if defined(Hiro_Action)
namespace hiro {
auto pAction::construct() -> void {
}
auto pAction::destruct() -> void {
}
auto pAction::setEnabled(bool enabled) -> void {
@autoreleasepool {
[cocoaAction setEnabled:enabled];
}
}
auto pAction::setVisible(bool visible) -> void {
@autoreleasepool {
[cocoaAction setHidden:!visible];
}
}
}
#endif