beagle r4559 - in branches/beagle-win32-branch/src: Beagle.Daemon/Beagle.Daemon Beagle.Engine Beagle.Engine/Beagle.Engine



Author: llipka
Date: Thu Feb 28 21:32:20 2008
New Revision: 4559
URL: http://svn.gnome.org/viewvc/beagle?rev=4559&view=rev

Log:
Split the daemon into an engine and daemon part.

Added:
   branches/beagle-win32-branch/src/Beagle.Daemon/Beagle.Daemon/
   branches/beagle-win32-branch/src/Beagle.Daemon/Beagle.Daemon/BeagleDaemon.cs
      - copied unchanged from r4558, /branches/beagle-win32-branch/src/Beagle.Engine/Beagle.Engine/BeagleDaemon.cs
Removed:
   branches/beagle-win32-branch/src/Beagle.Engine/Beagle.Engine/BeagleDaemon.cs
Modified:
   branches/beagle-win32-branch/src/Beagle.Engine/AssemblyInfo.cs.in
   branches/beagle-win32-branch/src/Beagle.Engine/Beagle.Engine.csproj

Modified: branches/beagle-win32-branch/src/Beagle.Engine/AssemblyInfo.cs.in
==============================================================================
--- branches/beagle-win32-branch/src/Beagle.Engine/AssemblyInfo.cs.in	(original)
+++ branches/beagle-win32-branch/src/Beagle.Engine/AssemblyInfo.cs.in	Thu Feb 28 21:32:20 2008
@@ -6,6 +6,55 @@
 
 using System.Reflection;
 
+using Beagle;
+using Beagle.Daemon;
+
 [assembly: AssemblyVersion("@VERSION@")]
 [assembly: AssemblyTitle ("Beagle.Engine")]
 
+// Any request message types in the BeagleDaemonLib.dll file must be registered
+// in these two attributes.
+[assembly: RequestMessageTypes (
+	typeof (RemoteIndexerRequest)
+)]
+	 
+[assembly: ResponseMessageTypes (
+	typeof (RemoteIndexerResponse)
+)]
+
+// Executors go in here.
+[assembly: RequestMessageExecutorTypes (
+	typeof (DaemonInformationExecutor),
+	typeof (InformationalMessagesRequestExecutor),
+	typeof (OptimizeIndexesExecutor),
+	typeof (QueryExecutor),
+	typeof (ReloadConfigExecutor),
+	typeof (ShutdownExecutor),
+	typeof (SnippetExecutor),
+	typeof (CountMatchQueryExecutor)
+)]
+
+// All backends in this assembly must be registered here.
+[assembly: IQueryableTypes (
+	typeof (Beagle.Daemon.AkregatorQueryable.AkregatorQueryable),
+	typeof (Beagle.Daemon.BlamQueryable.BlamQueryable),
+	typeof (Beagle.Daemon.FileSystemQueryable.FileSystemQueryable),
+	typeof (Beagle.Daemon.IndexingServiceQueryable.IndexingServiceQueryable),
+	typeof (Beagle.Daemon.KBookmarkQueryable.KonqBookmarkQueryable),
+	typeof (Beagle.Daemon.KMailQueryable.KMailQueryable),
+	typeof (Beagle.Daemon.KNotesQueryable.KNotesQueryable),
+	typeof (Beagle.Daemon.KOrganizerQueryable.KOrganizerQueryable),
+	typeof (Beagle.Daemon.KabcQueryable.KabcQueryable),
+	typeof (Beagle.Daemon.KonqQueryable.KonqQueryable),
+	typeof (Beagle.Daemon.KonversationQueryable.KonversationQueryable),
+	typeof (Beagle.Daemon.KopeteQueryable.KopeteQueryable),
+	typeof (Beagle.Daemon.LabyrinthQueryable.LabyrinthQueryable),
+	typeof (Beagle.Daemon.LifereaQueryable.LifereaQueryable),
+	typeof (Beagle.Daemon.NautilusMetadataQueryable.NautilusMetadataQueryable),
+	typeof (Beagle.Daemon.NetworkServicesQueryable.NetworkServicesQueryable),
+	typeof (Beagle.Daemon.OperaQueryable.OperaQueryable),
+	typeof (Beagle.Daemon.PidginQueryable.PidginQueryable),
+	typeof (Beagle.Daemon.StaticQueryable),
+	typeof (Beagle.Daemon.TomboyQueryable.TomboyQueryable),
+	typeof (Beagle.Daemon.EmpathyQueryable.EmpathyQueryable)                   
+)]

Modified: branches/beagle-win32-branch/src/Beagle.Engine/Beagle.Engine.csproj
==============================================================================
--- branches/beagle-win32-branch/src/Beagle.Engine/Beagle.Engine.csproj	(original)
+++ branches/beagle-win32-branch/src/Beagle.Engine/Beagle.Engine.csproj	Thu Feb 28 21:32:20 2008
@@ -36,4 +36,59 @@
   <Target Name="AfterBuild">
   </Target>
   -->
+  <ItemGroup>
+    <Compile Include="Beagle.Engine\BatteryMonitor.cs" />
+    <Compile Include="Beagle.Engine\BuildIndex.cs" />
+    <Compile Include="Beagle.Engine\DumpIndex.cs" />
+    <Compile Include="Beagle.Engine\EvolutionBackendsAssemblyInfo.cs" />
+    <Compile Include="Beagle.Engine\ExternalMetadataQueryable.cs" />
+    <Compile Include="Beagle.Engine\ExtractContent.cs" />
+    <Compile Include="Beagle.Engine\FileAttributes.cs" />
+    <Compile Include="Beagle.Engine\FileAttributesStore.cs" />
+    <Compile Include="Beagle.Engine\FileAttributesStore_ExtendedAttribute.cs" />
+    <Compile Include="Beagle.Engine\FileAttributesStore_Mixed.cs" />
+    <Compile Include="Beagle.Engine\FileAttributesStore_Sqlite.cs" />
+    <Compile Include="Beagle.Engine\Filter.cs" />
+    <Compile Include="Beagle.Engine\FilterFactory.cs" />
+    <Compile Include="Beagle.Engine\Flavor.cs" />
+    <Compile Include="Beagle.Engine\IFileAttributesStore.cs" />
+    <Compile Include="Beagle.Engine\IIndexer.cs" />
+    <Compile Include="Beagle.Engine\IndexerReceipts.cs" />
+    <Compile Include="Beagle.Engine\IndexerRequest.cs" />
+    <Compile Include="Beagle.Engine\IndexSynchronization.cs" />
+    <Compile Include="Beagle.Engine\InformationalMessagesRequestExecutor.cs" />
+    <Compile Include="Beagle.Engine\IQueryable.cs" />
+    <Compile Include="Beagle.Engine\IQueryResult.cs" />
+    <Compile Include="Beagle.Engine\IQueryWorker.cs" />
+    <Compile Include="Beagle.Engine\LuceneBitArray.cs" />
+    <Compile Include="Beagle.Engine\LuceneCommon.cs" />
+    <Compile Include="Beagle.Engine\LuceneFileQueryable.cs" />
+    <Compile Include="Beagle.Engine\LuceneIndexingDriver.cs" />
+    <Compile Include="Beagle.Engine\LuceneQueryable.cs" />
+    <Compile Include="Beagle.Engine\LuceneQueryingDriver.cs" />
+    <Compile Include="Beagle.Engine\ManageIndex.cs" />
+    <Compile Include="Beagle.Engine\MasterDelete.cs" />
+    <Compile Include="Beagle.Engine\NoiseFilter.cs" />
+    <Compile Include="Beagle.Engine\PropertyKeywordFu.cs" />
+    <Compile Include="Beagle.Engine\Queryable.cs" />
+    <Compile Include="Beagle.Engine\QueryableFlavor.cs" />
+    <Compile Include="Beagle.Engine\QueryDriver.cs" />
+    <Compile Include="Beagle.Engine\QueryExecutor.cs" />
+    <Compile Include="Beagle.Engine\QueryResult.cs" />
+    <Compile Include="Beagle.Engine\QueryStringParser.cs" />
+    <Compile Include="Beagle.Engine\RemoteControlExecutors.cs" />
+    <Compile Include="Beagle.Engine\RemoteIndexer.cs" />
+    <Compile Include="Beagle.Engine\RemoteIndexerRequest.cs" />
+    <Compile Include="Beagle.Engine\RemoteIndexerResponse.cs" />
+    <Compile Include="Beagle.Engine\Server.cs" />
+    <Compile Include="Beagle.Engine\Shutdown.cs" />
+    <Compile Include="Beagle.Engine\SnippetExecutor.cs" />
+    <Compile Include="Beagle.Engine\SnippetFu.cs" />
+    <Compile Include="Beagle.Engine\SnippetTest.cs" />
+    <Compile Include="Beagle.Engine\SqliteUtils.cs" />
+    <Compile Include="Beagle.Engine\StaticQueryable.cs" />
+    <Compile Include="Beagle.Engine\TextCache.cs" />
+    <Compile Include="Beagle.Engine\WebServer.cs" />
+    <Compile Include="Beagle.Engine\Zeroconf.cs" />
+  </ItemGroup>
 </Project>
\ No newline at end of file



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