xref: /haiku/src/preferences/appearance/APRMain.cpp (revision aee7417ca14008ec6006b0333d9ca3df2b504fb0)
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 	be_locale->GetAppCatalog(&fCatalog);
22 
23 	fWindow = new APRWindow(BRect(100, 100, 550, 420));
24 	fWindow->Show();
25 }
26 
27 int
28 main(int, char**)
29 {
30 	APRApplication myApplication;
31 	myApplication.Run();
32 
33 	return(0);
34 }
35