root/lang/objective-cplusplus/i3/trunk/src/Main.cpp @ 36811

Revision 36530, 0.9 kB (checked in by saturday06, 5 years ago)

fij

Line 
1#include <PrecompiledHeaders.h>
2#include "Common.h"
3#include "InputWindow.h"
4#include "OutputWindow.h"
5#include "CompletionWindow.h"
6#include "Delegate.h"
7#include "ShellManager.h"
8
9#include "Mediator.h"
10
11int start(int argc, char** argv) {
12    using namespace std;
13    using namespace boost;
14    using namespace mil;
15    using namespace i3;
16
17    int exit_status = EXIT_FAILURE;
18
19    if ((exit_status = init_common_global_data(argc, argv)) ||
20            (exit_status = init_os_global_data(argc, argv)) ||
21            (exit_status = init_gui_global_data(argc, argv))) {
22        return exit_status;
23    }
24
25    {
26        i3::Mediator mediator;
27        return mediator.start();
28    }
29}
30
31int main(int argc, char** argv) {
32    return filter_exception_and_start(argc, argv, start);
33    //void managed_message_box();
34    //managed_message_box();
35}
36
Note: See TracBrowser for help on using the browser.