* Support --version on non-UNX, too. * Consistently show the first unknown option and the help blob in the presence of any unknown options. * There is no need to tunnel --help/--version past oosplash in the soffice script, as oosplash is prepared to treat them adequately (esp. not pass them over any pipe); this only added unnecessary variance to what spellings exactly are supported and how mixtures of --help, --version, and unknown options are handled. Change-Id: I617f2e727e2f0eafd34a2de3b85d441c6783ec4f
26 lines
598 B
C++
26 lines
598 B
C++
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
#include <vcl/dialog.hxx>
|
|
#include <vcl/fixed.hxx>
|
|
#include <vcl/button.hxx>
|
|
|
|
namespace desktop
|
|
{
|
|
void displayCmdlineHelp( OUString const & unknown );
|
|
void displayVersion();
|
|
#ifndef UNX
|
|
class CmdlineHelpDialog : public ModalDialog
|
|
{
|
|
public:
|
|
CmdlineHelpDialog ( void );
|
|
|
|
FixedText m_ftHead;
|
|
FixedText m_ftLeft;
|
|
FixedText m_ftRight;
|
|
FixedText m_ftBottom;
|
|
OKButton m_btOk;
|
|
};
|
|
#endif
|
|
}
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|