[tasque/restructure: 15/17] [tasque] Create app factory project "tasque"



commit cbe719e013f0de4e9900f4f281470292c541942e
Author: Antonius Riha <antoniusriha gmail com>
Date:   Tue Aug 28 13:14:54 2012 +0200

    [tasque] Create app factory project "tasque"
    
    This project provides the executable of tasque and creates - according to
    the platform - the specific INativeApplication object:
    	- OSXApplication
    	- GtkApplication
    	- GnomeApplication.
    
    Gtk.Tasque is now a dll, which (in the future) will only serve as the Gtk
    frontend library.

 .gitignore                                      |   12 +++-
 configure.ac                                    |    3 +-
 src/Addins/Backends/Dummy/Makefile.am           |    2 +-
 src/Addins/Backends/IceCore/Makefile.am         |    2 +-
 src/Addins/Backends/Rtm/Makefile.am             |    2 +-
 src/Addins/Backends/Sqlite/Makefile.am          |    2 +-
 src/Gtk.Tasque/Application.cs                   |   68 +++++++----------------
 src/Gtk.Tasque/Gtk.Tasque.csproj                |    7 +--
 src/Gtk.Tasque/Makefile.am                      |   35 +-----------
 src/Makefile.am                                 |    2 +-
 src/tasque/Makefile.am                          |   65 +++++++++++++++++++++
 src/tasque/Program.cs                           |   66 ++++++++++++++++++++++
 src/tasque/Properties/AssemblyInfo.cs           |   30 ++++++++++
 src/{Gtk.Tasque => tasque}/Tasque.exe.config.in |    0
 src/tasque/tasque.csproj                        |   69 +++++++++++++++++++++++
 src/{Gtk.Tasque => tasque}/tasque.in            |    0
 src/{Gtk.Tasque => tasque}/tasque.pc.in         |    0
 tasque.sln                                      |    8 ++-
 18 files changed, 276 insertions(+), 97 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b047485..2ef57d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -73,17 +73,21 @@ Makefile.in
 /po/stamp-cat-id
 
 # /src/Gtk.Tasque/
-/src/Gtk.Tasque/*.exe
-/src/Gtk.Tasque/*.exe.config
+/src/Gtk.Tasque/*.dll
 /src/Gtk.Tasque/*.mdb
-/src/Gtk.Tasque/*.pc
 /src/Gtk.Tasque/Defines.cs
-/src/Gtk.Tasque/tasque
 
 # /src/libtasque/
 /src/libtasque/*.dll
 /src/libtasque/*.mdb
 
+# /src/tasque/
+/src/tasque/*.exe
+/src/tasque/*.exe.config
+/src/tasque/*.mdb
+/src/tasque/*.pc
+/src/tasque/tasque
+
 # /src/Addins/Backends/*/
 /src/Addins/Backends/*/*.dll
 /src/Addins/Backends/*/*.mdb
diff --git a/configure.ac b/configure.ac
index 6fe8749..eee9fdf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -249,7 +249,8 @@ src/Makefile
 src/Libraries/RtmNet/Makefile
 src/libtasque/Makefile
 src/Gtk.Tasque/Makefile
-src/Gtk.Tasque/tasque.pc
+src/tasque/Makefile
+src/tasque/tasque.pc
 src/Addins/Backends/Makefile
 src/Addins/Backends/Dummy/Makefile
 src/Addins/Backends/Eds/Makefile
diff --git a/src/Addins/Backends/Dummy/Makefile.am b/src/Addins/Backends/Dummy/Makefile.am
index 2633f68..26081dd 100644
--- a/src/Addins/Backends/Dummy/Makefile.am
+++ b/src/Addins/Backends/Dummy/Makefile.am
@@ -9,7 +9,7 @@ CSFILES = \
 
 ASSEMBLIES = \
 	-r:../../../libtasque/libtasque.dll \
-	-r:../../../Gtk.Tasque/Tasque.exe \
+	-r:../../../Gtk.Tasque/Gtk.Tasque.dll \
 	-r:System \
 	-r:Mono.Posix \
 	$(GTK_DOTNET_20_LIBS)
diff --git a/src/Addins/Backends/IceCore/Makefile.am b/src/Addins/Backends/IceCore/Makefile.am
index 9682ad0..7b80fba 100644
--- a/src/Addins/Backends/IceCore/Makefile.am
+++ b/src/Addins/Backends/IceCore/Makefile.am
@@ -8,7 +8,7 @@ CSFILES = \
 
 ASSEMBLIES = \
 	-r:../../../libtasque/libtasque.dll \
-	-r:../../../Gtk.Tasque/Tasque.exe \
+	-r:../../../Gtk.Tasque/Gtk.Tasque.dll \
 	-r:System \
 	-r:System.Xml \
 	-r:Mono.Posix \
diff --git a/src/Addins/Backends/Rtm/Makefile.am b/src/Addins/Backends/Rtm/Makefile.am
index 25506e0..3681be1 100644
--- a/src/Addins/Backends/Rtm/Makefile.am
+++ b/src/Addins/Backends/Rtm/Makefile.am
@@ -10,7 +10,7 @@ CSFILES = \
 
 ASSEMBLIES = \
 	-r:../../../libtasque/libtasque.dll \
-	-r:../../../Gtk.Tasque/Tasque.exe \
+	-r:../../../Gtk.Tasque/Gtk.Tasque.dll \
 	-r:../../../Libraries/RtmNet/RtmNet.dll \
 	-r:System \
 	-r:Mono.Posix \
diff --git a/src/Addins/Backends/Sqlite/Makefile.am b/src/Addins/Backends/Sqlite/Makefile.am
index cfeb4d7..3fd7ddc 100644
--- a/src/Addins/Backends/Sqlite/Makefile.am
+++ b/src/Addins/Backends/Sqlite/Makefile.am
@@ -10,7 +10,7 @@ CSFILES = \
 
 ASSEMBLIES = \
 	-r:../../../libtasque/libtasque.dll \
-	-r:../../../Gtk.Tasque/Tasque.exe \
+	-r:../../../Gtk.Tasque/Gtk.Tasque.dll \
 	-r:System \
 	-r:System.Data \
 	-r:Mono.Data.Sqlite \
diff --git a/src/Gtk.Tasque/Application.cs b/src/Gtk.Tasque/Application.cs
index e442f11..ffb3fd9 100644
--- a/src/Gtk.Tasque/Application.cs
+++ b/src/Gtk.Tasque/Application.cs
@@ -51,6 +51,7 @@ namespace Tasque
 	{
 		private static Tasque.Application application = null;
 		private static System.Object locker = new System.Object();
+		private bool initialized;
 		private INativeApplication nativeApp;
 #if !WIN32 && !OSX
 		private RemoteControl remoteControl;
@@ -92,11 +93,6 @@ namespace Tasque
 		{
 			get {
 				lock(locker) {
-					if(application == null) {
-						lock(locker) {
-							application = new Application();
-						}
-					}
 					return application;
 				}
 			}
@@ -129,25 +125,22 @@ namespace Tasque
 			get { return Application.Instance.preferences; }
 		}
 
-		private Application ()
+		public Application (INativeApplication nativeApp)
 		{
-			Init(null);
+			if (nativeApp == null)
+				throw new ArgumentNullException ("nativeApp");
+			this.nativeApp = nativeApp;
+			application = this;
 		}
 
-		private Application (string[] args)
+		public void Init (string[] args)
 		{
-			Init(args);
-		}
+			lock (locker) {
+				if (initialized)
+					return;
+				initialized = true;
+			}
 
-		private void Init(string[] args)
-		{
-#if OSX
-			nativeApp = new OSXApplication ();
-#elif WIN32
-			nativeApp = new GtkApplication ();
-#else
-			nativeApp = new GnomeApplication ();
-#endif
 			nativeApp.Initialize (
 				Defines.LocaleDir,
 				"Tasque",
@@ -500,35 +493,6 @@ namespace Tasque
 			app.preferencesDialog.Present ();
 		}
 
-		public static void Main(string[] args)
-		{
-			try 
-			{
-				application = GetApplicationWithArgs(args);
-				application.StartMainLoop ();
-			} 
-			catch (Exception e)
-			{
-				Tasque.Logger.Debug("Exception is: {0}", e);
-				Instance.NativeApplication.Exit (-1);
-			}
-		}
-
-		public static Application GetApplicationWithArgs(string[] args)
-		{
-			lock(locker)
-			{
-				if(application == null)
-				{
-					lock(locker)
-					{
-						application = new Application(args);
-					}
-				}
-				return application;
-			}
-		}
-
 #if ENABLE_NOTIFY_SHARP
 		public static void ShowAppNotification(Notification notification)
 		{
@@ -555,5 +519,13 @@ namespace Tasque
 
 			nativeApp.QuitMainLoop ();
 		}
+
+		public void Exit (int exitCode)
+		{
+			if (nativeApp != null)
+				nativeApp.Exit (exitCode);
+			else
+				Environment.Exit (exitCode);
+		}
 	}
 }
diff --git a/src/Gtk.Tasque/Gtk.Tasque.csproj b/src/Gtk.Tasque/Gtk.Tasque.csproj
index 8d6e2fc..07195cb 100644
--- a/src/Gtk.Tasque/Gtk.Tasque.csproj
+++ b/src/Gtk.Tasque/Gtk.Tasque.csproj
@@ -23,11 +23,7 @@
     <WarningLevel>4</WarningLevel>
     <CustomCommands>
       <CustomCommands>
-        <Command type="Execute" command="bin/lib/tasque/Tasque.exe" workingdir="${SolutionDir}" />
-        <Command type="Build" command="make" workingdir="${SolutionDir}" />
-        <Command type="AfterBuild" command="make install" workingdir="${SolutionDir}" />
-        <Command type="Clean" command="make uninstall" workingdir="${SolutionDir}" />
-        <Command type="AfterClean" command="make clean" workingdir="${SolutionDir}" />
+        <Command type="Build" command="echo &quot;&quot;" />
       </CustomCommands>
     </CustomCommands>
   </PropertyGroup>
@@ -73,7 +69,6 @@
     </Reference>
   </ItemGroup>
   <ItemGroup>
-    <None Include="Tasque.exe.config.in" />
     <None Include="..\..\data\images\clock-16-0.svg">
       <Link>data\images\clock-16-0.svg</Link>
     </None>
diff --git a/src/Gtk.Tasque/Makefile.am b/src/Gtk.Tasque/Makefile.am
index 1f38abe..a7c6aad 100644
--- a/src/Gtk.Tasque/Makefile.am
+++ b/src/Gtk.Tasque/Makefile.am
@@ -1,7 +1,6 @@
 CSC = $(DMCS)
 
-TARGET = Tasque.exe
-WRAPPER = tasque
+TARGET = Gtk.Tasque.dll
 
 if GTK_2_12
 GTK_2_12_CSFLAGS = -define:GTK_2_12
@@ -86,32 +85,14 @@ ASSEMBLIES = \
 	$(APPINDICATOR_SHARP_LIBS)
 
 $(TARGET): $(CSFILES) Defines.cs
-	$(CSC) -unsafe -out:$@ -noconfig -codepage:utf8 -warn:4 $(CSFLAGS) $(GTK_2_12_CSFLAGS) \
+	$(CSC) -unsafe -out:$@ -t:library -noconfig -codepage:utf8 -warn:4 $(CSFLAGS) $(GTK_2_12_CSFLAGS) \
 	$(NOTIFY_SHARP_CSFLAGS) $(APPINDICATOR_CSFLAGS) $^ $(ASSEMBLIES) $(RESOURCES)
 
 tasquelibdir = $(libdir)/tasque
-tasquelib_DATA = $(TARGET) $(TARGET).config $(MDBFILES)
-
-bin_SCRIPTS = $(WRAPPER)
-
-$(WRAPPER): $(WRAPPER).in Makefile
-	sed -e "s|\ prefix\@|$(prefix)|g"               \
-		-e "s|\ exec_prefix\@|$(bindir)|g"			\
-		-e "s|\ libdir\@|$(libdir)|g"				\
-		-e "s|\ pkglibdir\@|$(pkglibdir)|g"         \
-		-e "s|\ bindir\@|$(bindir)|g"               \
-		-e "s|\ target\@|$(TARGET)|g"               \
-		-e "s|\ wrapper\@|$(WRAPPER)|g"             \
-		-e "s|\ srcdir\@|$(PWD)|g"  \
-		< $< > $@
-	chmod +x $(WRAPPER)
+tasquelib_DATA = $(TARGET) $(MDBFILES)
 
 $(TARGET).mdb: $(TARGET)
 
-$(TARGET).config: $(TARGET).config.in Makefile
-	sed -e "s|\ pkglibdir\@|$(pkglibdir)|" \
-	    < $< > $@
-
 Defines.cs: Defines.cs.in Makefile
 	sed -e "s|\ version\@|$(VERSION)|"     \
 		-e "s|\ datadir\@|$(datadir)|"     \
@@ -120,25 +101,15 @@ Defines.cs: Defines.cs.in Makefile
 
 EXTRA_DIST = \
 	$(CSFILES) \
-	$(WRAPPER).in \
-	$(TARGET).config.in \
 	Defines.cs.in \
-	tasque.pc.in \
 	OSXApplication.cs
 
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = tasque.pc
-
 CLEANFILES = \
 	$(TARGET) \
-	$(TARGET).config \
 	$(TARGET).mdb \
-	$(WRAPPER) \
 	Defines.cs
 
 DISTCLEANFILES = \
-    $(WRAPPER) \
 	$(TARGET) \
-	$(TARGET).config \
 	$(TARGET).mdb \
 	Defines.cs
diff --git a/src/Makefile.am b/src/Makefile.am
index f3a1f6f..a35d07c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1 +1 @@
-SUBDIRS = Libraries/RtmNet libtasque Gtk.Tasque Addins/Backends
+SUBDIRS = Libraries/RtmNet libtasque Gtk.Tasque tasque Addins/Backends
diff --git a/src/tasque/Makefile.am b/src/tasque/Makefile.am
new file mode 100644
index 0000000..4a65698
--- /dev/null
+++ b/src/tasque/Makefile.am
@@ -0,0 +1,65 @@
+CSC = $(DMCS)
+
+TARGET = Tasque.exe
+WRAPPER = tasque
+
+if ENABLE_DEBUG
+CSFLAGS = -debug -d:DEBUG
+MDBFILES = $(TARGET).mdb
+endif
+
+CSFILES = \
+	Properties/AssemblyInfo.cs \
+	Program.cs
+
+ASSEMBLIES = \
+	-r:System \
+	-r:../libtasque/libtasque.dll \
+	-r:../Gtk.Tasque/Gtk.Tasque.dll
+
+$(TARGET): $(CSFILES)
+	$(CSC) -out:$@ -noconfig -codepage:utf8 -warn:4 $(CSFLAGS) $^ $(ASSEMBLIES)
+
+tasquelibdir = $(libdir)/tasque
+tasquelib_DATA = $(TARGET) $(TARGET).config $(MDBFILES)
+
+bin_SCRIPTS = $(WRAPPER)
+
+$(WRAPPER): $(WRAPPER).in Makefile
+	sed -e "s|\ prefix\@|$(prefix)|g"               \
+		-e "s|\ exec_prefix\@|$(bindir)|g"			\
+		-e "s|\ libdir\@|$(libdir)|g"				\
+		-e "s|\ pkglibdir\@|$(pkglibdir)|g"         \
+		-e "s|\ bindir\@|$(bindir)|g"               \
+		-e "s|\ target\@|$(TARGET)|g"               \
+		-e "s|\ wrapper\@|$(WRAPPER)|g"             \
+		-e "s|\ srcdir\@|$(PWD)|g"  \
+		< $< > $@
+	chmod +x $(WRAPPER)
+
+$(TARGET).mdb: $(TARGET)
+
+$(TARGET).config: $(TARGET).config.in Makefile
+	sed -e "s|\ pkglibdir\@|$(pkglibdir)|" \
+	    < $< > $@
+
+EXTRA_DIST = \
+	$(CSFILES) \
+	$(WRAPPER).in \
+	$(TARGET).config.in \
+	tasque.pc.in
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = tasque.pc
+
+CLEANFILES = \
+	$(TARGET) \
+	$(TARGET).config \
+	$(TARGET).mdb \
+	$(WRAPPER)
+
+DISTCLEANFILES = \
+    $(WRAPPER) \
+	$(TARGET) \
+	$(TARGET).config \
+	$(TARGET).mdb
diff --git a/src/tasque/Program.cs b/src/tasque/Program.cs
new file mode 100644
index 0000000..b00c14f
--- /dev/null
+++ b/src/tasque/Program.cs
@@ -0,0 +1,66 @@
+// 
+// Program.cs
+//  
+// Author:
+//       Antonius Riha <antoniusriha gmail com>
+// 
+// Copyright (c) 2012 Antonius Riha
+// 
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+// 
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+using System;
+
+namespace Tasque
+{
+	class Program
+	{
+		static INativeApplication CreateApplication ()
+		{
+			INativeApplication nativeApp;
+#if OSX
+			nativeApp = new OSXApplication ();
+#elif WIN32
+			nativeApp = new GtkApplication ();
+#else
+			nativeApp = new GnomeApplication ();
+#endif
+			return nativeApp;
+		}
+		
+		static void Main (string[] args)
+		{
+			try {
+				lock (lockObject) {
+					if (application != null)
+						return;
+
+					var nativeApp = CreateApplication ();
+					application = new Application (nativeApp);
+					application.Init (args);
+					application.StartMainLoop ();
+				}
+			} catch (Exception e) {
+				Logger.Debug ("Exception is: {0}", e);
+				application.Exit (-1);
+			}
+		}
+		
+		static Application application;
+		static object lockObject = new object ();
+	}
+}
diff --git a/src/tasque/Properties/AssemblyInfo.cs b/src/tasque/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..a52ab14
--- /dev/null
+++ b/src/tasque/Properties/AssemblyInfo.cs
@@ -0,0 +1,30 @@
+// 
+// AssemblyInfo.cs
+//  
+// Author:
+//       Antonius Riha <antoniusriha gmail com>
+// 
+// Copyright (c) 2012 Antonius Riha
+// 
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+// 
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+using System.Reflection;
+
+[assembly: AssemblyTitle("Tasque")]
+[assembly: AssemblyDescription("Simple Tasque Management")]
+[assembly: AssemblyCopyright("MIT")]
diff --git a/src/Gtk.Tasque/Tasque.exe.config.in b/src/tasque/Tasque.exe.config.in
similarity index 100%
rename from src/Gtk.Tasque/Tasque.exe.config.in
rename to src/tasque/Tasque.exe.config.in
diff --git a/src/tasque/tasque.csproj b/src/tasque/tasque.csproj
new file mode 100644
index 0000000..509853b
--- /dev/null
+++ b/src/tasque/tasque.csproj
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>10.0.0</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{A70BD496-A280-4EF5-BBE8-254E0CA89C62}</ProjectGuid>
+    <OutputType>WinExe</OutputType>
+    <RootNamespace>Tasque</RootNamespace>
+    <AssemblyName>tasque</AssemblyName>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug</OutputPath>
+    <DefineConstants>DEBUG;TRACE;</DefineConstants>
+    <WarningLevel>4</WarningLevel>
+    <CustomCommands>
+      <CustomCommands>
+        <Command type="Execute" command="bin/lib/tasque/Tasque.exe" workingdir="${SolutionDir}" />
+        <Command type="Build" command="make" workingdir="${SolutionDir}" />
+        <Command type="AfterBuild" command="make install" workingdir="${SolutionDir}" />
+        <Command type="Clean" command="make uninstall" workingdir="${SolutionDir}" />
+        <Command type="AfterClean" command="make clean" workingdir="${SolutionDir}" />
+      </CustomCommands>
+    </CustomCommands>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\LinuxRelease</OutputPath>
+    <DefineConstants>TRACE;</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <CustomCommands>
+      <CustomCommands>
+        <Command type="BeforeBuild" command="./autogen.sh --prefix=${SolutionDir}/build/bin/" workingdir="${SolutionDir}" externalConsole="true" />
+        <Command type="Build" command="make" workingdir="${SolutionDir}" externalConsole="true" />
+        <Command type="Clean" command="make clean" workingdir="${SolutionDir}" externalConsole="true" />
+      </CustomCommands>
+    </CustomCommands>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="Program.cs" />
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <ItemGroup>
+    <Folder Include="Properties\" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\Gtk.Tasque\Gtk.Tasque.csproj">
+      <Project>{B19B9840-669D-4984-9772-E1F55193A67F}</Project>
+      <Name>Gtk.Tasque</Name>
+    </ProjectReference>
+    <ProjectReference Include="..\libtasque\libtasque.csproj">
+      <Project>{784C9AA8-2B28-400B-8CC4-DCDC48CA37F0}</Project>
+      <Name>libtasque</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Tasque.exe.config.in" />
+  </ItemGroup>
+</Project>
diff --git a/src/Gtk.Tasque/tasque.in b/src/tasque/tasque.in
similarity index 100%
rename from src/Gtk.Tasque/tasque.in
rename to src/tasque/tasque.in
diff --git a/src/Gtk.Tasque/tasque.pc.in b/src/tasque/tasque.pc.in
similarity index 100%
rename from src/Gtk.Tasque/tasque.pc.in
rename to src/tasque/tasque.pc.in
diff --git a/tasque.sln b/tasque.sln
index 86f9565..9468857 100644
--- a/tasque.sln
+++ b/tasque.sln
@@ -19,6 +19,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RtmBackend", "src\Addins\Ba
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SqliteBackend", "src\Addins\Backends\Sqlite\SqliteBackend.csproj", "{CCCC10A5-662D-4788-82D3-25689F3D4D4F}"
 EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "tasque", "src\tasque\tasque.csproj", "{A70BD496-A280-4EF5-BBE8-254E0CA89C62}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
@@ -41,6 +43,10 @@ Global
 		{784C9AA8-2B28-400B-8CC4-DCDC48CA37F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{784C9AA8-2B28-400B-8CC4-DCDC48CA37F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{784C9AA8-2B28-400B-8CC4-DCDC48CA37F0}.Release|Any CPU.Build.0 = Release|Any CPU
+		{A70BD496-A280-4EF5-BBE8-254E0CA89C62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{A70BD496-A280-4EF5-BBE8-254E0CA89C62}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{A70BD496-A280-4EF5-BBE8-254E0CA89C62}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{A70BD496-A280-4EF5-BBE8-254E0CA89C62}.Release|Any CPU.Build.0 = Release|Any CPU
 		{B19B9840-669D-4984-9772-E1F55193A67F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{B19B9840-669D-4984-9772-E1F55193A67F}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{B19B9840-669D-4984-9772-E1F55193A67F}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -61,7 +67,7 @@ Global
 		{CCCC10A5-662D-4788-82D3-25689F3D4D4F} = {E2E6EE06-C957-4D1E-85CA-90F3773597DE}
 	EndGlobalSection
 	GlobalSection(MonoDevelopProperties) = preSolution
-		StartupItem = src\Gtk.Tasque\Gtk.Tasque.csproj
+		StartupItem = src\tasque\tasque.csproj
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE



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