]> git.lyx.org Git - features.git/blob - src/frontends/Application_pimpl.h
Fix bug 2868
[features.git] / src / frontends / Application_pimpl.h
1 /**
2  * \file frontend/Application_pimpl.h
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Abdelrazak Younes
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #ifndef LYX_APPLICATION_PIMPL_H
12 #define LYX_APPLICATION_PIMPL_H
13
14 #include "bufferlist.h"
15 #include "funcrequest.h"
16 #include "lyxserver.h"
17 #include "lyxsocket.h"
18
19 #include <boost/scoped_ptr.hpp>
20
21 namespace lyx {
22 namespace frontend {
23
24 /// The main application class private implementation.
25 struct Application_pimpl 
26 {
27         ///
28         BufferList buffer_list_;
29         /// our function handler
30         boost::scoped_ptr<LyXFunc> lyxfunc_;
31         ///
32         boost::scoped_ptr<LyXServer> lyx_server_;
33         ///
34         boost::scoped_ptr<LyXServerSocket> lyx_socket_;
35 };
36
37 } // namespace frontend
38 } // namespace lyx
39
40 #endif // LYX_APPLICATION_PIMPL_H