1 // main.cpp 2 3 #include <Application.h> 4 5 #include "ObjectWindow.h" 6 7 // main 8 int 9 main(int argc, char** argv) 10 { 11 BApplication* app = new BApplication("application/x.vnd-Haiku.Objects"); 12 13 BRect frame(50.0, 50.0, 600.0, 400.0); 14 (new ObjectWindow(frame, "Playground"))->Show(); 15 16 app->Run(); 17 18 delete app; 19 return 0; 20 } 21