[rygel] Add "available" prop to Plugin



commit 00290d689d41975a70e3723a132f7d128e61597b
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sun May 10 04:11:30 2009 +0300

    Add "available" prop to Plugin
---
 src/rygel/rygel-plugin.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/rygel/rygel-plugin.vala b/src/rygel/rygel-plugin.vala
index 7b169fc..ee6f41b 100644
--- a/src/rygel/rygel-plugin.vala
+++ b/src/rygel/rygel-plugin.vala
@@ -32,6 +32,8 @@ public class Rygel.Plugin : GUPnP.ResourceFactory {
     public string name;
     public string title;
 
+    public bool available { get; set; }
+
     public ArrayList<ResourceInfo> resource_infos;
     public ArrayList<IconInfo> icon_infos;
 
@@ -40,6 +42,8 @@ public class Rygel.Plugin : GUPnP.ResourceFactory {
         this.name = name;
         this.title = title;
 
+        this.available = true;
+
         if (title == null) {
             this.title = name;
         }



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