xref: /haiku/src/preferences/appearance/APRMain.cpp (revision a10cf76ef5b9e8c726ebc47183abd6943023cf8f)
1*a10cf76eSAxel Dörfler //------------------------------------------------------------------------------
2*a10cf76eSAxel Dörfler //	Copyright (c) 2001-2002, OpenBeOS
3*a10cf76eSAxel Dörfler //
4*a10cf76eSAxel Dörfler //	Permission is hereby granted, free of charge, to any person obtaining a
5*a10cf76eSAxel Dörfler //	copy of this software and associated documentation files (the "Software"),
6*a10cf76eSAxel Dörfler //	to deal in the Software without restriction, including without limitation
7*a10cf76eSAxel Dörfler //	the rights to use, copy, modify, merge, publish, distribute, sublicense,
8*a10cf76eSAxel Dörfler //	and/or sell copies of the Software, and to permit persons to whom the
9*a10cf76eSAxel Dörfler //	Software is furnished to do so, subject to the following conditions:
10*a10cf76eSAxel Dörfler //
11*a10cf76eSAxel Dörfler //	The above copyright notice and this permission notice shall be included in
12*a10cf76eSAxel Dörfler //	all copies or substantial portions of the Software.
13*a10cf76eSAxel Dörfler //
14*a10cf76eSAxel Dörfler //	THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15*a10cf76eSAxel Dörfler //	IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16*a10cf76eSAxel Dörfler //	FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17*a10cf76eSAxel Dörfler //	AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18*a10cf76eSAxel Dörfler //	LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19*a10cf76eSAxel Dörfler //	FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20*a10cf76eSAxel Dörfler //	DEALINGS IN THE SOFTWARE.
21*a10cf76eSAxel Dörfler //
22*a10cf76eSAxel Dörfler //	File Name:		APRMain.cpp
23*a10cf76eSAxel Dörfler //	Author:			DarkWyrm <bpmagic@columbus.rr.com>
24*a10cf76eSAxel Dörfler //	Description:	Main file for Appearance
25*a10cf76eSAxel Dörfler //
26*a10cf76eSAxel Dörfler //
27*a10cf76eSAxel Dörfler //------------------------------------------------------------------------------
28*a10cf76eSAxel Dörfler #include "APRMain.h"
29*a10cf76eSAxel Dörfler #include "APRWindow.h"
30*a10cf76eSAxel Dörfler #include <stdio.h>
31*a10cf76eSAxel Dörfler #include "defs.h"
32*a10cf76eSAxel Dörfler 
33*a10cf76eSAxel Dörfler APRApplication::APRApplication(void)
34*a10cf76eSAxel Dörfler   : BApplication(APPEARANCE_APP_SIGNATURE)
35*a10cf76eSAxel Dörfler {
36*a10cf76eSAxel Dörfler 	fWindow=new APRWindow( BRect(100,100,540,410) );
37*a10cf76eSAxel Dörfler 	fWindow->Show();
38*a10cf76eSAxel Dörfler }
39*a10cf76eSAxel Dörfler 
40*a10cf76eSAxel Dörfler int main(int, char**)
41*a10cf76eSAxel Dörfler {
42*a10cf76eSAxel Dörfler 	APRApplication myApplication;
43*a10cf76eSAxel Dörfler 	myApplication.Run();
44*a10cf76eSAxel Dörfler 
45*a10cf76eSAxel Dörfler 	return(0);
46*a10cf76eSAxel Dörfler }
47