[chronojump] code cleaning
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] code cleaning
- Date: Wed, 4 May 2011 14:38:52 +0000 (UTC)
commit a2f1208a273648f853f4a80d09da99abe6110acf
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed May 4 16:38:20 2011 +0200
code cleaning
Makefile.win32 | 1 -
src/chronojump_mini.cs | 2 +-
src/gui/usefulObjects.cs | 17 +++++++++++++++++
src/updateProgressBar.cs | 38 --------------------------------------
4 files changed, 18 insertions(+), 40 deletions(-)
---
diff --git a/Makefile.win32 b/Makefile.win32
index bf63420..a7054ed 100644
--- a/Makefile.win32
+++ b/Makefile.win32
@@ -244,7 +244,6 @@ CHRONOJUMP_FILES = \
utilGtk.cs\
constants.cs\
report.cs\
- updateProgressBar.cs\
sport.cs\
log.cs\
serverPing.cs\
diff --git a/src/chronojump_mini.cs b/src/chronojump_mini.cs
index c12cf11..11da485 100644
--- a/src/chronojump_mini.cs
+++ b/src/chronojump_mini.cs
@@ -35,7 +35,7 @@ using System.IO; //File && TextWriter
using Mono.Unix;
-class Test {
+class ChronoJumpMini {
//-- Estado del automata
enum Automata {
diff --git a/src/gui/usefulObjects.cs b/src/gui/usefulObjects.cs
index 4b80a1d..7aa0b64 100644
--- a/src/gui/usefulObjects.cs
+++ b/src/gui/usefulObjects.cs
@@ -191,3 +191,20 @@ public class PrepareEventGraphMultiChronopic {
~PrepareEventGraphMultiChronopic() {}
}
+public class UpdateProgressBar {
+ public bool IsEvent;
+ public bool PercentageMode;
+ public double ValueToShow;
+
+ public UpdateProgressBar() {
+ }
+
+ public UpdateProgressBar(bool isEvent, bool percentageMode, double valueToShow) {
+ this.IsEvent = isEvent;
+ this.PercentageMode = percentageMode;
+ this.ValueToShow = valueToShow;
+ }
+
+ ~UpdateProgressBar() {}
+}
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]