From b2d4cfd9ef3b3fd3614dba67300fcc8ed56b03e4 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Thu, 17 Jan 2013 13:40:38 +0100 Subject: [PATCH] media-export: Make some vfuncs protected. --- doc/reference/librygel-server/gtkdoc/implementing-server-plugins.xml | 2 +- src/plugins/media-export/rygel-media-export-harvesting-task.vala | 2 +- src/plugins/media-export/rygel-media-export-media-cache.vala | 2 +- .../media-export/rygel-media-export-trackable-db-container.vala | 5 +++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/reference/librygel-server/gtkdoc/implementing-server-plugins.xml b/doc/reference/librygel-server/gtkdoc/implementing-server-plugins.xml index bd90bc3..baa3203 100644 --- a/doc/reference/librygel-server/gtkdoc/implementing-server-plugins.xml +++ b/doc/reference/librygel-server/gtkdoc/implementing-server-plugins.xml @@ -82,7 +82,7 @@ implemented in Vala. The RygelMediaExportPlugin class, derived from RygelMediaServerPlugin, simply instantiates its RygelMediaExportRootContainer class, derived from RygelMediaContainer, providing it to the base class as the root container. -The RygelMediaExportRootContainer creates an instance of its RygelMediaExportMediaCache, which uses SQLite to maintain a cache of the media files that it finds on the file system. +The RygelMediaExportRootContainer creates an instance of a RygelMediaExportMediaCache class and a RygelMediaExportHarvester class. The harvester finds files on the filesystem, and stores them in the media cache, which uses SQLite to keep trak of them. diff --git a/src/plugins/media-export/rygel-media-export-harvesting-task.vala b/src/plugins/media-export/rygel-media-export-harvesting-task.vala index c3c8c52..91c584b 100644 --- a/src/plugins/media-export/rygel-media-export-harvesting-task.vala +++ b/src/plugins/media-export/rygel-media-export-harvesting-task.vala @@ -324,7 +324,7 @@ public class Rygel.MediaExport.HarvestingTask : Rygel.StateMachine, if (item != null) { item.parent_ref = this.containers.peek_head (); - // This is only necessary to generate the poper