]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlIndex.C
Controller-view split of Graphics and Index popups.
[lyx.git] / src / frontends / controllers / ControlIndex.C
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 ControlIndex.C
11  * \author Angus Leeming <a.leeming@ic.ac.uk>
12  */
13
14 #include <config.h>
15
16 #ifdef __GNUG__
17 #pragma implementation
18 #endif
19
20 #include "ControlIndex.h"
21 #include "buffer.h"
22 #include "Dialogs.h"
23 #include "LyXView.h"
24
25 using SigC::slot;
26
27 ControlIndex::ControlIndex(LyXView & lv, Dialogs & d)
28         : ControlCommand(lv, d, LFUN_INDEX_INSERT)
29 {
30         d_.showIndex.connect(slot(this, &ControlIndex::showInset));
31         d_.createIndex.connect(slot(this, &ControlIndex::createInset));
32 }