xref: /haiku/src/preferences/mail/main.cpp (revision 4f00613311d0bd6b70fa82ce19931c41f071ea4e)
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 {
14 	public:
15 		MailConfigApp();
16 		~MailConfigApp();
17 };
18 
19 
20 MailConfigApp::MailConfigApp() : BApplication("application/x-vnd.Be-mprf")
21 {
22 	(new ConfigWindow())->Show();
23 }
24 
25 
26 MailConfigApp::~MailConfigApp()
27 {
28 }
29 
30 
31 //	#pragma mark -
32 
33 
34 int main(int argc,char **argv)
35 {
36 	(new MailConfigApp())->Run();
37 
38 	delete be_app;
39 }
40 
41