]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlUrl.C
controller-view split for Url popup.
[lyx.git] / src / frontends / controllers / ControlUrl.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 ControlUrl.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 "Dialogs.h"
21 #include "ControlUrl.h"
22 #include "Dialogs.h"
23 #include "LyXView.h"
24 #include "buffer.h"
25
26 #include "lyxfunc.h"
27
28 using SigC::slot;
29
30 ControlUrl::ControlUrl(LyXView & lv, Dialogs & d)
31         : ControlCommand(lv, d, LFUN_INSERT_URL)
32 {
33         d_.showUrl.connect(slot(this, &ControlUrl::showInset));
34         d_.createUrl.connect(slot(this, &ControlUrl::createInset));
35 }