http://www.freelists.org/post/haiku-commits/r40968-in-haikutrunksrcapps-activitymonitor-bootmanager-charactermap-codycam-deskbar,3 Leaving them for now in replicants, and in Terminal, according to (my interpretation of) the instructions here http://dev.haiku-os.org/browser/haiku/trunk/src/apps/terminal/README.GPL_to_OBOS#L70 Some sporadic cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41108 a95241bf-73f2-0310-859d-f6bbb57e9c96
58 lines
855 B
C++
58 lines
855 B
C++
/*
|
|
* Copyright 2008-2010, Haiku, Inc. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors:
|
|
* Michael Pfeiffer <[email protected]>
|
|
* Axel Dörfler <[email protected]>
|
|
*/
|
|
|
|
|
|
#include "BootManagerWindow.h"
|
|
|
|
#include <Application.h>
|
|
#include <Catalog.h>
|
|
|
|
|
|
#undef B_TRANSLATE_CONTEXT
|
|
#define B_TRANSLATE_CONTEXT "BootManager"
|
|
|
|
|
|
static const char* kSignature = "application/x-vnd.Haiku-BootManager";
|
|
|
|
|
|
class BootManager : public BApplication {
|
|
public:
|
|
BootManager();
|
|
|
|
virtual void ReadyToRun();
|
|
};
|
|
|
|
|
|
BootManager::BootManager()
|
|
:
|
|
BApplication(kSignature)
|
|
{
|
|
}
|
|
|
|
|
|
void
|
|
BootManager::ReadyToRun()
|
|
{
|
|
BootManagerWindow* window = new BootManagerWindow();
|
|
window->Show();
|
|
}
|
|
|
|
|
|
// #pragma mark -
|
|
|
|
|
|
int
|
|
main(int /*argc*/, char** /*argv*/)
|
|
{
|
|
BootManager application;
|
|
application.Run();
|
|
|
|
return 0;
|
|
}
|