xref: /haiku/src/apps/clock/clock.cpp (revision cb9c3e9cede30851ba29be2e955fb8cfcecef7ac)
1 /*
2  * Copyright 1999, Be Incorporated. All Rights Reserved.
3  * Copyright 2010, Clemens Zeidler <haiku@clemens-zeidler.de>
4  * This file may be used under the terms of the Be Sample Code License.
5  *
6  */
7 
8 
9 #include <Application.h>
10 
11 #include "cl_wind.h"
12 
13 
14 const char* kAppSignature = "application/x-vnd.Haiku-Clock";
15 
16 
17 int
18 main(int argc, char* argv[])
19 {
20 	BApplication app(kAppSignature);
21 
22 	BWindow* clockWindow = new TClockWindow(BRect(100, 100, 182, 182), "Clock");
23 	clockWindow->Show();
24 
25 	app.Run();
26 
27 	return 0;
28 }
29