-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split project into library, console and UI. Done with basic UI
- Loading branch information
Showing
15 changed files
with
417 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// | ||
// Copyright (C) 2009 Vadim Chekan | ||
// | ||
// This program is free software; you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation; either version 2 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with this program; if not, write to the Free Software | ||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
// | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
|
||
// Information about this assembly is defined by the following attributes. | ||
// Change them to the values specific to your project. | ||
|
||
[assembly: AssemblyTitle("CodeQL.Console")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("")] | ||
[assembly: AssemblyProduct("")] | ||
[assembly: AssemblyCopyright("")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". | ||
// The form "{Major}.{Minor}.*" will automatically update the build and revision, | ||
// and "{Major}.{Minor}.{Build}.*" will update just the revision. | ||
|
||
[assembly: AssemblyVersion("1.0.*")] | ||
|
||
// The following attributes are used to specify the signing key for the assembly, | ||
// if desired. See the Mono documentation for more information about signing. | ||
|
||
[assembly: AssemblyDelaySign(false)] | ||
[assembly: AssemblyKeyFile("")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<Project name="CodeQL.Console" fileversion="2.0" language="C#" targetFramework="3.5" ctype="DotNetProject"> | ||
<Configurations active="Debug"> | ||
<Configuration name="Debug" ctype="DotNetProjectConfiguration"> | ||
<Output directory="bin/Debug" assembly="CodeQL.Console" /> | ||
<Build debugmode="True" target="Exe" /> | ||
<Execution runwithwarnings="True" consolepause="True" runtime="MsNet" /> | ||
<CodeGeneration compiler="Mcs" warninglevel="4" optimize="False" unsafecodeallowed="False" generateoverflowchecks="False" definesymbols="DEBUG" generatexmldocumentation="False" ctype="CSharpCompilerParameters" /> | ||
</Configuration> | ||
<Configuration name="Release" ctype="DotNetProjectConfiguration"> | ||
<Output directory="bin/Release" assembly="CodeQL.Console" /> | ||
<Build debugmode="False" target="Exe" /> | ||
<Execution runwithwarnings="True" consolepause="True" runtime="MsNet" /> | ||
<CodeGeneration compiler="Mcs" warninglevel="4" optimize="False" unsafecodeallowed="False" generateoverflowchecks="False" generatexmldocumentation="False" ctype="CSharpCompilerParameters" /> | ||
</Configuration> | ||
</Configurations> | ||
<Contents> | ||
<File name="AssemblyInfo.cs" subtype="Code" buildaction="Compile" /> | ||
<File name="Main.cs" subtype="Code" buildaction="Compile" /> | ||
</Contents> | ||
<References> | ||
<ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> | ||
<ProjectReference type="Project" localcopy="True" refto="CodeQL" /> | ||
<ProjectReference type="Assembly" localcopy="True" specificVersion="False" refto="../lib/Mono.Cecil.dll" /> | ||
<ProjectReference type="Assembly" localcopy="True" specificVersion="False" refto="../lib/NDesk.Options.dll" /> | ||
</References> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// | ||
// Copyright (C) 2009 Vadim Chekan | ||
// | ||
// This program is free software; you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation; either version 2 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with this program; if not, write to the Free Software | ||
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
// | ||
|
||
using System; | ||
|
||
namespace CodeQL.UI | ||
{ | ||
|
||
|
||
public partial class ProjectProperties : Gtk.Dialog | ||
{ | ||
|
||
public ProjectProperties() | ||
{ | ||
this.Build(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
// ------------------------------------------------------------------------------ | ||
// <autogenerated> | ||
// This code was generated by a tool. | ||
// | ||
// | ||
// Changes to this file may cause incorrect behavior and will be lost if | ||
// the code is regenerated. | ||
// </autogenerated> | ||
// ------------------------------------------------------------------------------ | ||
|
||
namespace CodeQL.UI { | ||
|
||
|
||
public partial class ProjectProperties { | ||
|
||
private Gtk.VBox vbox2; | ||
|
||
private Gtk.Button buttonCancel; | ||
|
||
private Gtk.Button buttonOk; | ||
|
||
protected virtual void Build() { | ||
Stetic.Gui.Initialize(this); | ||
// Widget CodeQL.UI.ProjectProperties | ||
this.Name = "CodeQL.UI.ProjectProperties"; | ||
this.WindowPosition = ((Gtk.WindowPosition)(4)); | ||
this.HasSeparator = false; | ||
// Internal child CodeQL.UI.ProjectProperties.VBox | ||
Gtk.VBox w1 = this.VBox; | ||
w1.Name = "dialog1_VBox"; | ||
w1.BorderWidth = ((uint)(2)); | ||
// Container child dialog1_VBox.Gtk.Box+BoxChild | ||
this.vbox2 = new Gtk.VBox(); | ||
this.vbox2.Name = "vbox2"; | ||
this.vbox2.Spacing = 6; | ||
w1.Add(this.vbox2); | ||
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.vbox2])); | ||
w2.Position = 0; | ||
// Internal child CodeQL.UI.ProjectProperties.ActionArea | ||
Gtk.HButtonBox w3 = this.ActionArea; | ||
w3.Name = "dialog1_ActionArea"; | ||
w3.Spacing = 6; | ||
w3.BorderWidth = ((uint)(5)); | ||
w3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); | ||
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild | ||
this.buttonCancel = new Gtk.Button(); | ||
this.buttonCancel.CanDefault = true; | ||
this.buttonCancel.CanFocus = true; | ||
this.buttonCancel.Name = "buttonCancel"; | ||
this.buttonCancel.UseStock = true; | ||
this.buttonCancel.UseUnderline = true; | ||
this.buttonCancel.Label = "gtk-cancel"; | ||
this.AddActionWidget(this.buttonCancel, -6); | ||
Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel])); | ||
w4.Expand = false; | ||
w4.Fill = false; | ||
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild | ||
this.buttonOk = new Gtk.Button(); | ||
this.buttonOk.CanDefault = true; | ||
this.buttonOk.CanFocus = true; | ||
this.buttonOk.Name = "buttonOk"; | ||
this.buttonOk.UseStock = true; | ||
this.buttonOk.UseUnderline = true; | ||
this.buttonOk.Label = "gtk-ok"; | ||
this.AddActionWidget(this.buttonOk, -5); | ||
Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk])); | ||
w5.Position = 1; | ||
w5.Expand = false; | ||
w5.Fill = false; | ||
if ((this.Child != null)) { | ||
this.Child.ShowAll(); | ||
} | ||
this.DefaultWidth = 400; | ||
this.DefaultHeight = 441; | ||
this.Show(); | ||
} | ||
} | ||
} |
Oops, something went wrong.