svn path=/trunk/; revision=324
// Chain-up to base first
base.constructed ();
- this.root_container = new MediaContainer ("0",
- "-1",
- "MediaTracker",
- this.containers.length ());
+ this.root_container = new MediaContainer.root
+ ("MediaTracker",
+ this.containers.length ());
this.containers = new List<TrackerContainer> ();
this.containers.append
this.child_count = child_count;
}
+ public MediaContainer.root (string title,
+ uint child_count) {
+ this ("0", "-1", title, child_count);
+ }
+
public override void serialize (DIDLLiteWriter didl_writer) {
didl_writer.start_container (this.id,
this.parent_id,