도크 항목이 SDLMain.m에 의해 추가되었습니다. needs to be compiled으로 ffplay
으로 Mac에서 재생됩니다. SDLMain.m에서 다음 줄을 주석 처리하면 ffplay가 창없는 프로세스로 실행됩니다. 우리가 다른 플랫폼
을 주위에
int main()
SDLMain.m
래퍼를 필요로하지 않기 때문에
//#ifdef SDL_USE_CPS
// {
// CPSProcessSerNum PSN;
// /* Tell the dock about us */
// if (!CPSGetCurrentProcess(&PSN))
// if (!CPSEnableForegroundOperation(&PSN,0x03,0x3C,0x2C,0x1103))
// if (!CPSSetFrontProcess(&PSN))
// [NSApplication sharedApplication];
// }
//#endif /* SDL_USE_CPS */
/* Set up the menubar */
//[NSApp setMainMenu:[[NSMenu alloc] init]];
//setApplicationMenu();
//setupWindowMenu();
편집이는 Mac에 영향을 미치는