2 * \file ControlEmbeddedFiles.cpp
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
13 #include "ControlEmbeddedFiles.h"
17 #include "FuncRequest.h"
27 ControlEmbeddedFiles::ControlEmbeddedFiles(Dialog & parent)
28 : Dialog::Controller(parent), embedded_files(NULL)
32 bool ControlEmbeddedFiles::initialiseParams(string const &)
38 void ControlEmbeddedFiles::updateEmbeddedFiles()
40 // copy buffer embeddedFiles to a local copy
41 kernel().buffer().embeddedFiles().update();
42 embedded_files = &kernel().buffer().embeddedFiles();
46 void ControlEmbeddedFiles::dispatchParams()
48 // lyx view will only be updated if we do something to the main window. :-)
49 kernel().dispatch(FuncRequest(LFUN_MESSAGE, message_));
53 } // namespace frontend