]> git.lyx.org Git - features.git/commitdiff
Fix MSVC link error.
authorAbdelrazak Younes <younes@lyx.org>
Sun, 25 May 2008 07:22:45 +0000 (07:22 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 25 May 2008 07:22:45 +0000 (07:22 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24929 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiApplication.cpp
src/frontends/qt4/GuiClipboard.cpp
src/frontends/qt4/GuiClipboard.h

index a4504fc7b23eaee04ae80211264e8b8ca3fe674f..d57c91075306b1da9b66388133a2f36bfd5250f0 100644 (file)
@@ -105,18 +105,11 @@ using namespace lyx::support;
 
 namespace lyx {
 
-// defined in GuiClipboard.cpp.
-extern char const * const lyx_mime_type;
-extern char const * const pdf_mime_type;
-extern char const * const emf_mime_type;
-extern char const * const wmf_mime_type;
-
 frontend::Application * createApplication(int & argc, char * argv[])
 {
        return new frontend::GuiApplication(argc, argv);
 }
 
-
 namespace frontend {
 
 class SocketNotifier : public QSocketNotifier
index d0a580969b78535b2eeb61c011417278c5e2ac8a..c56b1f44626c13fb7d65479f90c914c537a2a401 100644 (file)
@@ -53,14 +53,13 @@ using namespace lyx::support;
 
 namespace lyx {
 
-char const * const lyx_mime_type = "application/x-lyx";
-char const * const pdf_mime_type = "application/pdf";
-char const * const emf_mime_type = "image/x-emf";
-char const * const wmf_mime_type = "image/x-wmf";
-
-
 namespace frontend {
 
+char const * lyx_mime_type = "application/x-lyx";
+char const * pdf_mime_type = "application/pdf";
+char const * emf_mime_type = "image/x-emf";
+char const * wmf_mime_type = "image/x-wmf";
+
 
 GuiClipboard::GuiClipboard()
 {
index a04226a146ec41287765d597290857bbbeef453e..67c404a1ba77de211e37903baf611fce58af7449 100644 (file)
@@ -58,6 +58,11 @@ private:
        bool has_graphics_contents_;
 };
 
+extern char const * lyx_mime_type;
+extern char const * pdf_mime_type;
+extern char const * emf_mime_type;
+extern char const * wmf_mime_type;
+
 } // namespace frontend
 } // namespace lyx