capuchin r60 - in trunk/src/libcapuchin: . Xml



Author: sebp
Date: Sat Mar  8 10:54:07 2008
New Revision: 60
URL: http://svn.gnome.org/viewvc/capuchin?rev=60&view=rev

Log:
Adjusted visibility of classes

Modified:
   trunk/src/libcapuchin/AppObject.cs
   trunk/src/libcapuchin/Xml/ItemsDict.cs
   trunk/src/libcapuchin/Xml/Repository.cs
   trunk/src/libcapuchin/Xml/author.cs
   trunk/src/libcapuchin/Xml/changelog.cs
   trunk/src/libcapuchin/Xml/checksum.cs
   trunk/src/libcapuchin/Xml/item.cs

Modified: trunk/src/libcapuchin/AppObject.cs
==============================================================================
--- trunk/src/libcapuchin/AppObject.cs	(original)
+++ trunk/src/libcapuchin/AppObject.cs	Sat Mar  8 10:54:07 2008
@@ -30,7 +30,7 @@
         internal delegate void ClosedHandler(string application_name);
         internal event ClosedHandler Closed;
     
-        public ItemsDict RepoItems;
+        internal ItemsDict RepoItems;
         public readonly string RepositoryURL;
         
         protected string LocalRepo;
@@ -264,7 +264,7 @@
         /// <param name="local_file">Path to the downloaded file</param>
         /// <param name="signature">URL of the signature file</param>
         /// <param name="checksumField">Checksum information</param>
-        protected void CheckFile (string local_file, string signature, checksum checksumField)
+        internal void CheckFile (string local_file, string signature, checksum checksumField)
         {
             if (checksumField != null)
             {

Modified: trunk/src/libcapuchin/Xml/ItemsDict.cs
==============================================================================
--- trunk/src/libcapuchin/Xml/ItemsDict.cs	(original)
+++ trunk/src/libcapuchin/Xml/ItemsDict.cs	Sat Mar  8 10:54:07 2008
@@ -6,7 +6,7 @@
 namespace Capuchin.Xml
 {
     
-    public class ItemsDict : Dictionary<string, item>, IXmlSerializable
+    internal class ItemsDict : Dictionary<string, item>, IXmlSerializable
     {
         public System.Xml.Schema.XmlSchema GetSchema()
         {

Modified: trunk/src/libcapuchin/Xml/Repository.cs
==============================================================================
--- trunk/src/libcapuchin/Xml/Repository.cs	(original)
+++ trunk/src/libcapuchin/Xml/Repository.cs	Sat Mar  8 10:54:07 2008
@@ -5,7 +5,7 @@
 namespace Capuchin.Xml
 {
     [XmlRootAttribute(ElementName="repository", Namespace="", IsNullable=false)]
-    public class Repository
+    internal class Repository
     {
         [XmlElementAttribute("application")]
         public string application;

Modified: trunk/src/libcapuchin/Xml/author.cs
==============================================================================
--- trunk/src/libcapuchin/Xml/author.cs	(original)
+++ trunk/src/libcapuchin/Xml/author.cs	Sat Mar  8 10:54:07 2008
@@ -6,7 +6,7 @@
 {
     
     [XmlRootAttribute(ElementName="author", Namespace = "", IsNullable = false)]
-    public class author
+    internal class author
     {
         [XmlAttributeAttribute("name", typeof(string))]
         public string Name;

Modified: trunk/src/libcapuchin/Xml/changelog.cs
==============================================================================
--- trunk/src/libcapuchin/Xml/changelog.cs	(original)
+++ trunk/src/libcapuchin/Xml/changelog.cs	Sat Mar  8 10:54:07 2008
@@ -7,7 +7,7 @@
 {
     
    [XmlRootAttribute(ElementName="changelog", Namespace = "", IsNullable = false)]
-    public class changelog : Dictionary<string, string>, IXmlSerializable
+    internal class changelog : Dictionary<string, string>, IXmlSerializable
     {
         public System.Xml.Schema.XmlSchema GetSchema()
         {

Modified: trunk/src/libcapuchin/Xml/checksum.cs
==============================================================================
--- trunk/src/libcapuchin/Xml/checksum.cs	(original)
+++ trunk/src/libcapuchin/Xml/checksum.cs	Sat Mar  8 10:54:07 2008
@@ -5,14 +5,14 @@
 namespace Capuchin.Xml
 {
     
-    public enum checksumType
+    internal enum checksumType
     {
         sha1,
         md5,
     }
     
     [XmlRootAttribute(Namespace = "", IsNullable = false)]
-    public class checksum
+    internal class checksum
     {
 
         private checksumType typeField;

Modified: trunk/src/libcapuchin/Xml/item.cs
==============================================================================
--- trunk/src/libcapuchin/Xml/item.cs	(original)
+++ trunk/src/libcapuchin/Xml/item.cs	Sat Mar  8 10:54:07 2008
@@ -6,7 +6,7 @@
 {
     
     [XmlRootAttribute(Namespace = "", IsNullable = false)]
-    public class item
+    internal class item
     {   
         [XmlElementAttribute("author", typeof(author), IsNullable = false)]
         public author Author;



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