]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlNote.h
Simpler structure, 2-3s faster compiles. Not that it matters much...
[lyx.git] / src / frontends / controllers / ControlNote.h
1 // -*- C++ -*-
2 /**
3  * \file ControlNote.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Angus Leeming
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef CONTROLNOTE_H
13 #define CONTROLNOTE_H
14
15 #include "Dialog.h"
16 #include "insets/InsetNote.h"
17 #include <vector>
18
19 namespace lyx {
20 namespace frontend {
21
22 class ControlNote : public Controller
23 {
24 public:
25         ///
26         ControlNote(Dialog &);
27         ///
28         virtual bool initialiseParams(std::string const & data);
29         ///
30         virtual void clearParams();
31         ///
32         virtual void dispatchParams();
33         ///
34         virtual bool isBufferDependent() const { return true; }
35         ///
36         InsetNoteParams & params() { return params_; }
37         ///
38         InsetNoteParams const & params() const { return params_; }
39         ///
40 private:
41         ///
42         InsetNoteParams params_;
43 };
44
45 } // namespace frontend
46 } // namespace lyx
47
48 #endif // CONTROLNOTE_H