]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Clipboard.h
Keep dialog connected to cross-ref inset after Apply.
[lyx.git] / src / frontends / Clipboard.h
index faf4e0a8fe37d423cdcad09ce9575ab6c9783e00..c06a17f50b80f478e50978b162e0230399ece6c1 100644 (file)
 #ifndef BASE_CLIPBOARD_H
 #define BASE_CLIPBOARD_H
 
-#include "Cursor.h"
-
 #include "support/strfwd.h"
 
-using lyx::support::FileName;
-
 namespace lyx {
+
+class Cursor;
+
+namespace support { class FileName; }
+
 namespace frontend {
 
 /**
@@ -62,7 +63,7 @@ public:
        /// Get the contents of the window system clipboard in any text format except LyxTextType.
        virtual docstring const getAsText(TextType type) const = 0;
        /// Get the contents of the window system clipboard as graphics file.
-       virtual FileName getAsGraphics(Cursor const & cur, GraphicsType type) const = 0;
+       virtual support::FileName getAsGraphics(Cursor const & cur, GraphicsType type) const = 0;
 
        /**
         * Fill the system clipboard. The format of \p lyx is as written in