added --enable-drag-drop arg and supporting gui changes.

This commit is contained in:
Nick Bolton 2013-09-18 08:34:32 +00:00
parent ba78e4b67f
commit 2935c6671e
13 changed files with 156 additions and 166 deletions

View file

@ -168,6 +168,14 @@ CApp::parseArg(const int& argc, const char* const* argv, int& i)
argsBase().m_crypto.setMode("cfb");
}
else if (isArg(i, argc, argv, NULL, "--enable-drag-drop")) {
#ifdef WINAPI_XWINDOWS
std::cerr << "Option not supported on Linux: " << argv[i] << std::endl;
m_bye(kExitArgs);
#endif
argsBase().m_enableDragDrop = true;
}
else {
// option not supported here
return false;