2 #include "application.h"
3 #include "mspcore_api.h"
5 MSPCORE_API int main(int argc, char **argv)
9 /* Applications launched from Finder get a special argument, which would
10 interfere with GetOpt. Remove it from argv but pass it as data so it can
11 be used to determine how the application was launhed. */
13 for(int i=0; i<argc; ++i)
15 if(!strncmp(argv[i], "-psn_", 5))
23 return Msp::Application::run(argc, argv, data);