[longomatch/redesign3: 148/156] Move database code to services



commit ccce8d81b2b3c7c72943d58767d14a3042a8e1e1
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Aug 16 20:35:06 2011 +0200

    Move database code to services

 LongoMatch/LongoMatch.mdp               |    3 ++-
 LongoMatch/Makefile.am                  |    2 +-
 LongoMatch/{DB => Services}/DataBase.cs |    0
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch/LongoMatch.mdp b/LongoMatch/LongoMatch.mdp
index 38409af..f12ea8f 100644
--- a/LongoMatch/LongoMatch.mdp
+++ b/LongoMatch/LongoMatch.mdp
@@ -30,7 +30,6 @@
     <File subtype="Directory" buildaction="Compile" name="Gui" />
     <File subtype="Code" buildaction="Compile" name="Gui/MainWindow.cs" />
     <File subtype="Directory" buildaction="Compile" name="DB" />
-    <File subtype="Code" buildaction="Compile" name="DB/DataBase.cs" />
     <File subtype="Directory" buildaction="Compile" name="Handlers" />
     <File subtype="Code" buildaction="Compile" name="Handlers/Handlers.cs" />
     <File subtype="Directory" buildaction="Compile" name="IO" />
@@ -196,6 +195,8 @@
     <File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Component.StringTaggerWidget.cs" />
     <File subtype="Code" buildaction="Compile" name="Common/GStreamer.cs" />
     <File subtype="Code" buildaction="Compile" name="gtk-gui/LongoMatch.Gui.Dialog.TemplatesManager.cs" />
+    <File subtype="Code" buildaction="Compile" name="Services/DataBase.cs" />
+    <File subtype="Directory" buildaction="Compile" name="DB" />
   </Contents>
   <References>
     <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
diff --git a/LongoMatch/Makefile.am b/LongoMatch/Makefile.am
index 35095e6..0e55d29 100644
--- a/LongoMatch/Makefile.am
+++ b/LongoMatch/Makefile.am
@@ -13,7 +13,6 @@ SOURCES = \
 	Common/Log.cs \
 	Common/ProjectUtils.cs \
 	Common/SerializableObject.cs \
-	DB/DataBase.cs \
 	gtk-gui/generated.cs \
 	gtk-gui/LongoMatch.Gui.Component.ButtonsWidget.cs \
 	gtk-gui/LongoMatch.Gui.Component.CategoryProperties.cs \
@@ -121,6 +120,7 @@ SOURCES = \
 	Main.cs \
 	Playlist/IPlayList.cs \
 	Playlist/PlayList.cs \
+	Services/DataBase.cs \
 	Services/TemplatesService.cs \
 	Store/Category.cs \
 	Store/Drawing.cs \
diff --git a/LongoMatch/DB/DataBase.cs b/LongoMatch/Services/DataBase.cs
similarity index 100%
rename from LongoMatch/DB/DataBase.cs
rename to LongoMatch/Services/DataBase.cs



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]