]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlNote.h
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[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
16 #include "Dialog.h"
17 #include "debug.h"
18
19 class InsetNoteParams;
20
21 class ControlNote : public Dialog::Controller {
22 public:
23         ///
24         ControlNote(Dialog &);
25         ///
26         virtual bool initialiseParams(string const & data);
27         ///
28         virtual void clearParams();
29         ///
30         virtual void dispatchParams();
31         ///
32         virtual bool isBufferDependent() const { return true; }
33         ///
34         InsetNoteParams & params() { return *params_.get(); }
35         ///
36         InsetNoteParams const & params() const { return *params_.get(); }
37         ///
38 private:
39         ///
40         boost::scoped_ptr<InsetNoteParams> params_;
41 };
42
43 #endif // CONTROLNOTE_H