xref: /haiku/src/apps/clock/clock.cpp (revision 220d04022750f40f8bac8f01fa551211e28d04f2)
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 #include <Catalog.h>
11 
12 #include "cl_wind.h"
13 
14 
15 const char* kAppSignature = "application/x-vnd.Haiku-Clock";
16 
17 
18 int
19 main(int argc, char* argv[])
20 {
21 	BApplication app(kAppSignature);
22 
23 	BWindow* clockWindow = new TClockWindow(BRect(100, 100, 182, 182),
24 		B_TRANSLATE_SYSTEM_NAME("Clock"));
25 	clockWindow->Show();
26 
27 	app.Run();
28 
29 	return 0;
30 }
31