//-----------------------------------------------------------------------------
// wx.NET/Utils - Opts.cs
//
// Class to encapsulate command line options.
//
// Licensed under the wxWidgets license, see LICENSE.txt for details.
//
// $Id: Opts.cs,v 1.4 2004/06/08 05:10:01 t9mike Exp $
//-----------------------------------------------------------------------------
using System;
using RJH.CommandLineHelper;
namespace wx.ToWxNet{
public class Opts
{
[CommandLineSwitch("no-namespace", "do not enclose code in a namespace block")]
public bool NoNamespace
{
get { return _NoNamespace; }
set { _NoNamespace = value; }
}
bool _NoNamespace = false;
[CommandLineSwitch("help", "print help")]
public bool Help
{
get { return _Help; }
set { _Help = value; }
}
bool _Help = false;
[CommandLineSwitch("basic", "Generate Basic code")]
public bool Basic
{
get { return _Basic; }
set { _Basic = value; }
}
bool _Basic = false;
[CommandLineSwitch("gui", "Start TowxNET GUI")]
public bool Gui
{
get { return _Gui; }
set { _Gui = value; }
}
bool _Gui = false;
}
}
|