152a38012Sejakowatz /* 20064e641SStephan Aßmus * Copyright 1999, Be Incorporated. All Rights Reserved. 310cf6042SClemens Zeidler * Copyright 2010, Clemens Zeidler <haiku@clemens-zeidler.de> 40064e641SStephan Aßmus * This file may be used under the terms of the Be Sample Code License. 50064e641SStephan Aßmus * 652a38012Sejakowatz */ 752a38012Sejakowatz 810cf6042SClemens Zeidler 910cf6042SClemens Zeidler #include <Application.h> 10066522e8SJonas Sundström #include <Catalog.h> 1110cf6042SClemens Zeidler 120064e641SStephan Aßmus #include "cl_wind.h" 1352a38012Sejakowatz 1452a38012Sejakowatz 150064e641SStephan Aßmus const char* kAppSignature = "application/x-vnd.Haiku-Clock"; 1652a38012Sejakowatz 1752a38012Sejakowatz 180064e641SStephan Aßmus int main(int argc,char * argv[])190064e641SStephan Aßmusmain(int argc, char* argv[]) 200064e641SStephan Aßmus { 2110cf6042SClemens Zeidler BApplication app(kAppSignature); 2210cf6042SClemens Zeidler 23066522e8SJonas Sundström BWindow* clockWindow = new TClockWindow(BRect(100, 100, 182, 182), 24*560ff447SJonas Sundström B_TRANSLATE_SYSTEM_NAME("Clock")); 2510cf6042SClemens Zeidler clockWindow->Show(); 2610cf6042SClemens Zeidler 270064e641SStephan Aßmus app.Run(); 280064e641SStephan Aßmus 290064e641SStephan Aßmus return 0; 3052a38012Sejakowatz } 31