]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlUrl.C
2d99198ff6eaf7f31232cbe3a3d9ba68c4f3fa79
[lyx.git] / src / frontends / controllers / ControlUrl.C
1 // -*- C++ -*-
2 /* This file is part of
3  * ====================================================== 
4  *
5  *           LyX, The Document Processor
6  *
7  *           Copyright 2001 The LyX Team.
8  *
9  * ======================================================
10  *
11  * \file ControlUrl.C
12  * \author Angus Leeming <a.leeming@ic.ac.uk>
13  */
14
15 #include <config.h>
16
17 #ifdef __GNUG__
18 #pragma implementation
19 #endif
20
21 #include "ViewBase.h"
22 #include "ButtonControllerBase.h"
23 #include "ControlUrl.h"
24 #include "Dialogs.h"
25 #include "LyXView.h"
26 #include "buffer.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 }