1 /* 2 * Copyright 2002-2006, Haiku. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * DarkWyrm (darkwyrm@earthlink.net) 7 */ 8 #include "APRMain.h" 9 #include "APRWindow.h" 10 #include <stdio.h> 11 #include "defs.h" 12 13 #include <Catalog.h> 14 #include <Locale.h> 15 16 APRApplication::APRApplication(void) 17 : BApplication(APPEARANCE_APP_SIGNATURE) 18 { 19 // Do this now because we need to call BWindow constructor with a translated 20 // string. 21 BCatalog cat; 22 be_locale->GetAppCatalog(&cat); 23 24 fWindow = new APRWindow(BRect(100, 100, 550, 420)); 25 fWindow->Show(); 26 } 27 28 int 29 main(int, char**) 30 { 31 APRApplication myApplication; 32 myApplication.Run(); 33 34 return(0); 35 } 36