1 /* 2 * Copyright 2005, Ingo Weinhold, bonefish@users.sf.net. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 #include <Application.h> 7 8 class TestApp : public BApplication { 9 public: 10 TestApp() 11 : BApplication("application/x-vnd.haiku.negative-shutdown-reply") 12 { 13 } 14 15 virtual bool QuitRequested() 16 { 17 return false; 18 } 19 }; 20 21 int 22 main() 23 { 24 TestApp app; 25 app.Run(); 26 27 return 0; 28 } 29