xref: /haiku/src/apps/bootmanager/BootManager.cpp (revision 23d878482ed22e55dad6d1fca1df7bea42eb157c)
1 /*
2  * Copyright 2008-2010, Haiku, Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Michael Pfeiffer <laplace@users.sourceforge.net>
7  * 		Axel Dörfler <axeld@pinc-software.de>
8  */
9 
10 
11 #include "BootManagerWindow.h"
12 
13 #include <Application.h>
14 #include <Catalog.h>
15 
16 
17 #undef B_TRANSLATION_CONTEXT
18 #define B_TRANSLATION_CONTEXT "BootManager"
19 
20 
21 static const char* kSignature = "application/x-vnd.Haiku-BootManager";
22 
23 
24 class BootManager : public BApplication {
25 public:
26 								BootManager();
27 
28 	virtual void				ReadyToRun();
29 };
30 
31 
32 BootManager::BootManager()
33 	:
34 	BApplication(kSignature)
35 {
36 }
37 
38 
39 void
40 BootManager::ReadyToRun()
41 {
42 	BootManagerWindow* window = new BootManagerWindow();
43 	window->Show();
44 }
45 
46 
47 //	#pragma mark -
48 
49 
50 int
51 main(int /*argc*/, char** /*argv*/)
52 {
53 	BootManager application;
54 	application.Run();
55 
56 	return 0;
57 }
58