xref: /haiku/src/tests/kits/interface/balert/alert_manual_test/AlertManualTestApp.cpp (revision 658ffe9fcf2eb13200250690edc3260dc9040562)
1*658ffe9fSMatthew Wilber // AlertManualTestApp.cpp
2*658ffe9fSMatthew Wilber 
3*658ffe9fSMatthew Wilber #include <stdio.h>
4*658ffe9fSMatthew Wilber #include "AlertManualTestApp.h"
5*658ffe9fSMatthew Wilber #include "AlertTestWindow.h"
6*658ffe9fSMatthew Wilber 
main(int argc,char ** argv)7*658ffe9fSMatthew Wilber int main(int argc, char **argv)
8*658ffe9fSMatthew Wilber {
9*658ffe9fSMatthew Wilber 	AlertManualTestApp app;
10*658ffe9fSMatthew Wilber 	app.Run();
11*658ffe9fSMatthew Wilber 
12*658ffe9fSMatthew Wilber 	return 0;
13*658ffe9fSMatthew Wilber }
14*658ffe9fSMatthew Wilber 
AlertManualTestApp()15*658ffe9fSMatthew Wilber AlertManualTestApp::AlertManualTestApp()
16*658ffe9fSMatthew Wilber 	: BApplication("application/x-vnd.Haiku-AlertManualTest")
17*658ffe9fSMatthew Wilber {
18*658ffe9fSMatthew Wilber 	BRect rect(150, 150, 600, 300);
19*658ffe9fSMatthew Wilber 	fMainWindow = new AlertTestWindow(rect);
20*658ffe9fSMatthew Wilber 
21*658ffe9fSMatthew Wilber 	fMainWindow->Show();
22*658ffe9fSMatthew Wilber }
23*658ffe9fSMatthew Wilber 
24