menu-separator.cpp 327 B

123456789101112131415161718192021
  1. #if defined(Hiro_MenuSeparator)
  2. namespace hiro {
  3. auto pMenuSeparator::construct() -> void {
  4. @autoreleasepool {
  5. cocoaAction = cocoaSeparator = [[NSMenuItem separatorItem] retain];
  6. pAction::construct();
  7. }
  8. }
  9. auto pMenuSeparator::destruct() -> void {
  10. @autoreleasepool {
  11. [cocoaAction release];
  12. }
  13. }
  14. }
  15. #endif