]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlRef.h
Controller-view split for Ref popup.
[lyx.git] / src / frontends / controllers / ControlRef.h
1 /* This file is part of
2  * ====================================================== 
3  *
4  *           LyX, The Document Processor
5  *
6  *           Copyright 2001 The LyX Team.
7  *
8  * ======================================================
9  *
10  * \file ControlRef.h
11  * \author Angus Leeming <a.leeming@ic.ac.uk>
12  */
13
14 #ifndef CONTROLREF_H
15 #define CONTROLREF_H
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21 #include "ControlCommand.h"
22
23 /** A controller for the Ref Dialog.
24  */
25 class ControlRef : public ControlCommand {
26 public:
27         ///
28         ControlRef(LyXView &, Dialogs &);
29
30         ///
31         std::vector<string> const getLabelList() const;
32         ///
33         void gotoRef(string const &) const;
34         ///
35         void gotoBookmark() const;
36
37 private:
38         /// not needed.
39         virtual void clearDaughterParams() {}
40 };
41
42 #endif // CONTROLREF_H