xref: /haiku/src/apps/overlayimage/OverlayApp.cpp (revision 02354704729d38c3b078c696adc1bbbd33cbcf72)
1 /*
2  * Copyright 1999-2010, Be Incorporated. All Rights Reserved.
3  * This file may be used under the terms of the Be Sample Code License.
4  *
5  * OverlayImage is based on the code presented in this article:
6  * http://www.haiku-os.org/documents/dev/replishow_a_replicable_image_viewer
7  *
8  * Authors:
9  *			Seth Flexman
10  *			Hartmuth Reh
11  *			Humdinger		<humdingerb@gmail.com>
12  */
13 
14 #include "OverlayApp.h"
15 #include "OverlayWindow.h"
16 
17 
18 OverlayApp::OverlayApp()
19 	: BApplication("application/x-vnd.Haiku-OverlayImage")
20 {
21 	OverlayWindow *theWindow = new OverlayWindow();
22 	theWindow->Show();
23 }
24 
25 
26 int
27 main()
28 {
29 	OverlayApp theApp;
30 	theApp.Run();
31 	return (0);
32 }
33