Fix MSVC link error.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24929 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-05-25 07:22:45 +00:00
parent 3ddfbb8cc0
commit 4d188198ba
3 changed files with 10 additions and 13 deletions

View 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

View 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()
{

View 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