Преглед изворни кода

2003-01-10 Gaurav Vaish <gvaish_mono AT lycos.com>

	* IObjectListFieldCollection.cs,
	* IPageAdapter.cs,
	* ITemplateable.cs                    : Added interface.
	* ObjectListField.cs                  : Dummy implementation.

svn path=/trunk/mcs/; revision=10344
Gaurav Vaish пре 23 година
родитељ
комит
e67543ba67

+ 7 - 0
mcs/class/System.Web.Mobile/System.Web.UI.MobileControls/ChangeLog

@@ -1,4 +1,11 @@
 
+2003-01-10	Gaurav Vaish <gvaish_mono AT lycos.com>
+
+	* IObjectListFieldCollection.cs,
+	* IPageAdapter.cs,
+	* ITemplateable.cs                    : Added interface.
+	* ObjectListField.cs                  : Dummy implementation.
+
 2003-01-10	Gaurav Vaish <gvaish_mono AT lycos.com>
 
 	* MobileListItemType.cs,

+ 23 - 0
mcs/class/System.Web.Mobile/System.Web.UI.MobileControls/IObjectListFieldCollection.cs

@@ -0,0 +1,23 @@
+/**
+ * Project   : Mono
+ * Namespace : System.Web.UI.MobileControls
+ * Class     : IObjectListFieldCollection
+ * Author    : Gaurav Vaish
+ *
+ * Copyright : 2002 with Gaurav Vaish, and with
+ *             Ximian Inc
+ */
+
+using System.Collections;
+
+namespace System.Web.UI.MobileControls
+{
+	public interface IObjectListFieldCollection : ICollection
+	{
+		ObjectListField this[int index] { get; }
+		
+		ObjectListField[] GetAll();
+		int               IndexOf(ObjectListField field);
+		int               ObjectListField(string fieldID);
+	}
+}

+ 36 - 0
mcs/class/System.Web.Mobile/System.Web.UI.MobileControls/IPageAdapter.cs

@@ -0,0 +1,36 @@
+/**
+ * Project   : Mono
+ * Namespace : System.Web.UI.MobileControls
+ * Class     : IPageAdapter
+ * Author    : Gaurav Vaish
+ *
+ * Copyright : 2002 with Gaurav Vaish, and with
+ *             Ximian Inc
+ */
+
+using System.Collections;
+using System.Collections.Specialized;
+using System.IO;
+using System.Web.UI;
+using System.Web;
+
+namespace System.Web.UI.MobileControls
+{
+	public interface IPageAdapter : IControlAdapter
+	{
+		IList       CacheVaryByHeaders       { get; }
+		IDictionary CookielessDataDictionary { get; set; }
+		int         OptimumPageWeight        { get; }
+		new MobilePage  Page                 { get; set; }
+		bool        PersistCookielessData    { get; set; }
+
+		HtmlTextWriter      CreateTextWriter(TextWriter writer);
+		NameValueCollection DeterminePostBackMode(HttpRequest request,
+		                         string postEventSourceID,
+		                         string postEventArgumentID,
+		                         NameValueCollection baseCollection);
+		bool                HandleError(Exception e, HtmlTextWriter writer);
+		bool                HandlePagePostBackEvent(string eventSource,
+		                                            string eventArgument);
+	}
+}

+ 16 - 0
mcs/class/System.Web.Mobile/System.Web.UI.MobileControls/ITemplateable.cs

@@ -0,0 +1,16 @@
+/**
+ * Project   : Mono
+ * Namespace : System.Web.UI.MobileControls
+ * Class     : ITemplateable
+ * Author    : Gaurav Vaish
+ *
+ * Copyright : 2002 with Gaurav Vaish, and with
+ *             Ximian Inc
+ */
+
+namespace System.Web.UI.MobileControls
+{
+	public interface ITemplateable
+	{
+	}
+}

+ 21 - 0
mcs/class/System.Web.Mobile/System.Web.UI.MobileControls/ObjectListField.cs

@@ -0,0 +1,21 @@
+/**
+ * Project   : Mono
+ * Namespace : System.Web.UI.MobileControls
+ * Class     : ObjectListField
+ * Author    : Gaurav Vaish
+ *
+ * Copyright : 2002 with Gaurav Vaish, and with
+ *             Ximian Inc
+ */
+
+using System.Web.UI;
+
+namespace System.Web.UI.MobileControls
+{
+	public class ObjectListField //: IStateManager
+	{
+		public ObjectListField()
+		{
+		}
+	}
+}