xref: /haiku/src/preferences/mail/main.cpp (revision 1acbe440b8dd798953bec31d18ee589aa3f71b73)
1 /* main - the application and startup code
2 **
3 ** Copyright 2001 Dr. Zoidberg Enterprises. All rights reserved.
4 */
5 
6 
7 #include "ConfigWindow.h"
8 
9 #include <Application.h>
10 
11 
12 class MailConfigApp : public BApplication {
13 	public:
14 		MailConfigApp();
15 		~MailConfigApp();
16 };
17 
18 
19 MailConfigApp::MailConfigApp()
20 	: BApplication("application/x-vnd.Haiku-Mail")
21 {
22 	(new ConfigWindow())->Show();
23 }
24 
25 
26 MailConfigApp::~MailConfigApp()
27 {
28 }
29 
30 
31 //	#pragma mark -
32 
33 
34 int
35 main(int argc,char **argv)
36 {
37 	(new MailConfigApp())->Run();
38 	delete be_app;
39 
40 	return 0;
41 }
42 
43