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