[gbrainy] Remove public accesor from methods that should not be exposed
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Remove public accesor from methods that should not be exposed
- Date: Sat, 6 Nov 2010 08:12:50 +0000 (UTC)
commit 9fe922f37fc8ecfb628559e9d213eb58f4dbe3b4
Author: Jordi Mas <jmas softcatala org>
Date: Sat Nov 6 09:14:55 2010 +0100
Remove public accesor from methods that should not be exposed
src/Clients/Classical/Dialogs/CustomGameDialog.cs | 2 +-
.../Classical/Dialogs/PlayerHistoryDialog.cs | 2 +-
src/Core/Main/Xml/GameXml.cs | 2 +-
src/Games/Logic/PuzzleDice.cs | 2 +-
src/Games/Logic/PuzzlePredicateLogic.cs | 2 +-
src/Games/Memory/MemoryFiguresAndText.cs | 2 +-
src/Games/Memory/MemoryNumbers.cs | 8 ++++----
7 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/Clients/Classical/Dialogs/CustomGameDialog.cs b/src/Clients/Classical/Dialogs/CustomGameDialog.cs
index 576c5b0..4565554 100644
--- a/src/Clients/Classical/Dialogs/CustomGameDialog.cs
+++ b/src/Clients/Classical/Dialogs/CustomGameDialog.cs
@@ -233,7 +233,7 @@ namespace gbrainy.Clients.Classical
manager.PlayList = play_list.ToArray ();
}
- public class CairoPreview : DrawingArea
+ class CairoPreview : DrawingArea
{
public Game puzzle;
diff --git a/src/Clients/Classical/Dialogs/PlayerHistoryDialog.cs b/src/Clients/Classical/Dialogs/PlayerHistoryDialog.cs
index d4b00f9..6b61e02 100644
--- a/src/Clients/Classical/Dialogs/PlayerHistoryDialog.cs
+++ b/src/Clients/Classical/Dialogs/PlayerHistoryDialog.cs
@@ -102,7 +102,7 @@ namespace gbrainy.Clients.Classical
drawing_area.QueueDraw ();
}
- public class CairoPreview : DrawingArea
+ class CairoPreview : DrawingArea
{
PlayerHistoryView view;
diff --git a/src/Core/Main/Xml/GameXml.cs b/src/Core/Main/Xml/GameXml.cs
index 23eef4d..dba3e55 100644
--- a/src/Core/Main/Xml/GameXml.cs
+++ b/src/Core/Main/Xml/GameXml.cs
@@ -32,7 +32,7 @@ namespace gbrainy.Core.Main.Xml
// Every GameXml instance is capable of locating any XML defined game
// This struct translates from a Variant that is global to all games
// to a specific game + variant
- public struct DefinitionLocator
+ struct DefinitionLocator
{
public int Game { get; set; }
public int Variant { get; set; }
diff --git a/src/Games/Logic/PuzzleDice.cs b/src/Games/Logic/PuzzleDice.cs
index 72fbd86..5151516 100644
--- a/src/Games/Logic/PuzzleDice.cs
+++ b/src/Games/Logic/PuzzleDice.cs
@@ -29,7 +29,7 @@ namespace gbrainy.Games.Logic
int problem;
const string format_string = "{0:##0.###}";
- internal struct Problem
+ struct Problem
{
internal string question;
internal string answer;
diff --git a/src/Games/Logic/PuzzlePredicateLogic.cs b/src/Games/Logic/PuzzlePredicateLogic.cs
index 38cbf05..1ef6f4a 100644
--- a/src/Games/Logic/PuzzlePredicateLogic.cs
+++ b/src/Games/Logic/PuzzlePredicateLogic.cs
@@ -32,7 +32,7 @@ namespace gbrainy.Games.Logic
ArrayListIndicesRandom random_indices;
const int num_options = 4;
- internal struct Predicate
+ struct Predicate
{
internal string question;
internal string [] options;
diff --git a/src/Games/Memory/MemoryFiguresAndText.cs b/src/Games/Memory/MemoryFiguresAndText.cs
index db047f5..a324a9d 100644
--- a/src/Games/Memory/MemoryFiguresAndText.cs
+++ b/src/Games/Memory/MemoryFiguresAndText.cs
@@ -36,7 +36,7 @@ namespace gbrainy.Games.Memory
double rect_w, rect_h;
int question_pos, figures_active;
- static internal class FigureType
+ static class FigureType
{
internal const int Triangle = 0;
internal const int Square = 1;
diff --git a/src/Games/Memory/MemoryNumbers.cs b/src/Games/Memory/MemoryNumbers.cs
index e14a6e6..c907b84 100644
--- a/src/Games/Memory/MemoryNumbers.cs
+++ b/src/Games/Memory/MemoryNumbers.cs
@@ -29,7 +29,7 @@ namespace gbrainy.Games.Memory
private Challenge current_game;
private const int num_games = 3;
- public class Challenge
+ class Challenge
{
protected static int [] numbers;
@@ -49,7 +49,7 @@ namespace gbrainy.Games.Memory
}
}
- public class ChallengeOdds : Challenge
+ class ChallengeOdds : Challenge
{
public override string Question {
get {
@@ -69,7 +69,7 @@ namespace gbrainy.Games.Memory
}
}
- public class ChallengeEvens : Challenge
+ class ChallengeEvens : Challenge
{
public override string Question {
get {
@@ -89,7 +89,7 @@ namespace gbrainy.Games.Memory
}
}
- public class ChallengeTwoDigits : Challenge
+ class ChallengeTwoDigits : Challenge
{
public override string Question {
get {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]