mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
3ddfbb8cc0
commit
4d188198ba
@ -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
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user