Fix reading of compressed strings. This fixes #7266. Some clean up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40895 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,46 +1,23 @@
|
||||
/* main - the application and startup code
|
||||
**
|
||||
** Copyright 2001 Dr. Zoidberg Enterprises. All rights reserved.
|
||||
*/
|
||||
/*
|
||||
* Copyright 2011, Haiku, Inc. All rights reserved.
|
||||
* Copyright 2011, Clemens Zeidler <[email protected]>
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
|
||||
#include <Application.h>
|
||||
|
||||
#include "ConfigWindow.h"
|
||||
|
||||
#include <Application.h>
|
||||
#include <Catalog.h>
|
||||
#include <Locale.h>
|
||||
|
||||
|
||||
class BCatalog;
|
||||
|
||||
class MailConfigApp : public BApplication {
|
||||
public:
|
||||
MailConfigApp();
|
||||
~MailConfigApp();
|
||||
};
|
||||
|
||||
|
||||
MailConfigApp::MailConfigApp()
|
||||
: BApplication("application/x-vnd.Haiku-Mail")
|
||||
{
|
||||
(new ConfigWindow())->Show();
|
||||
}
|
||||
|
||||
|
||||
MailConfigApp::~MailConfigApp()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// #pragma mark -
|
||||
|
||||
|
||||
int
|
||||
main(int argc,char **argv)
|
||||
main(int argc, char** argv)
|
||||
{
|
||||
(new MailConfigApp())->Run();
|
||||
delete be_app;
|
||||
BApplication app("application/x-vnd.Haiku-Mail");
|
||||
|
||||
BWindow* window = new ConfigWindow;
|
||||
window->Show();
|
||||
|
||||
app.Run();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user