mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
define mime strings at one place only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24928 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6abce3ec85
commit
3ddfbb8cc0
@ -102,14 +102,15 @@
|
||||
using namespace std;
|
||||
using namespace lyx::support;
|
||||
|
||||
// FIXME: These strings are also used in GuiClipboard.cpp.
|
||||
static char const * const lyx_mime_type = "application/x-lyx";
|
||||
static char const * const pdf_mime_type = "application/pdf";
|
||||
static char const * const emf_mime_type = "image/x-emf";
|
||||
static char const * const wmf_mime_type = "image/x-wmf";
|
||||
|
||||
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);
|
||||
|
@ -50,13 +50,15 @@
|
||||
using namespace std;
|
||||
using namespace lyx::support;
|
||||
|
||||
static char const * const lyx_mime_type = "application/x-lyx";
|
||||
static char const * const pdf_mime_type = "application/pdf";
|
||||
static char const * const emf_mime_type = "image/x-emf";
|
||||
static char const * const wmf_mime_type = "image/x-wmf";
|
||||
|
||||
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 {
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user