diff options
author | Gaurav Vaish <gvaish@mono-cvs.ximian.com> | 2003-05-21 10:17:03 +0400 |
---|---|---|
committer | Gaurav Vaish <gvaish@mono-cvs.ximian.com> | 2003-05-21 10:17:03 +0400 |
commit | de6245596d0f426cfd93567d2e60d5b82286e90b (patch) | |
tree | 4d16be15b6521c3f17261f238c695edbdcc8d5f5 /mcs/class/System.Web.Mobile | |
parent | 41ffe597a5d982a9122ba1ef7aae4b0c769edc20 (diff) |
2003-05-21 Gaurav Vaish <gvaish_mono AT lycos.com>
* HtmlControlAdapter.cs : Partial implementation.
* HtmlFormAdapter.cs : Initial implementation.
* HtmlPageAdapter.cs : Initial implementation.
svn path=/trunk/mcs/; revision=14749
Diffstat (limited to 'mcs/class/System.Web.Mobile')
4 files changed, 95 insertions, 1 deletions
diff --git a/mcs/class/System.Web.Mobile/System.Web.UI.MobileControls.Adapters/ChangeLog b/mcs/class/System.Web.Mobile/System.Web.UI.MobileControls.Adapters/ChangeLog index d715fde8d12..cff059f26f7 100644 --- a/mcs/class/System.Web.Mobile/System.Web.UI.MobileControls.Adapters/ChangeLog +++ b/mcs/class/System.Web.Mobile/System.Web.UI.MobileControls.Adapters/ChangeLog @@ -1,4 +1,10 @@ +2003-05-21 Gaurav Vaish <gvaish_mono AT lycos.com> + + * HtmlControlAdapter.cs : Partial implementation. + * HtmlFormAdapter.cs : Initial implementation. + * HtmlPageAdapter.cs : Initial implementation. + 2003-04-29 Gaurav Vaish <gvaish_mono AT lycos.com> * ControlAdapter.cs : Some more methods. diff --git a/mcs/class/System.Web.Mobile/System.Web.UI.MobileControls.Adapters/HtmlControlAdapter.cs b/mcs/class/System.Web.Mobile/System.Web.UI.MobileControls.Adapters/HtmlControlAdapter.cs index 5f3af52fbac..671ebe2efa8 100644 --- a/mcs/class/System.Web.Mobile/System.Web.UI.MobileControls.Adapters/HtmlControlAdapter.cs +++ b/mcs/class/System.Web.Mobile/System.Web.UI.MobileControls.Adapters/HtmlControlAdapter.cs @@ -9,13 +9,65 @@ */ using System; +using System.Web.Mobile; namespace System.Web.UI.MobileControls.Adapters { - public class HtmlControlAdapter //: ControlAdapter + public class HtmlControlAdapter : ControlAdapter { + protected static readonly int NotSecondaryUI = -1; + + [MonoTODO("Whould_like_to_keep_it_FFFFFFFF")] + internal const int NotSecondaryUIInitial = 0x7FFFFFFF; + + private static string[] multimediaAttrs = { + "src", + "soundstart", + "loop", + "volume", + "vibration", + "viblength" + }; + public HtmlControlAdapter() { } + + protected HtmlFormAdapter FormAdapter + { + get + { + return (HtmlFormAdapter)Control.Form.Adapter; + } + } + + protected HtmlPageAdapter PageAdapter + { + get + { + return (HtmlPageAdapter)Page.Adapter; + } + } + + [MonoTODO] + protected int SecondaryUIMode + { + get + { + throw new NotImplementedException(); + } + set + { + throw new NotImplementedException(); + } + } + + public virtual bool RequiresFormTag + { + get + { + return false; + } + } } } diff --git a/mcs/class/System.Web.Mobile/System.Web.UI.MobileControls.Adapters/HtmlFormAdapter.cs b/mcs/class/System.Web.Mobile/System.Web.UI.MobileControls.Adapters/HtmlFormAdapter.cs new file mode 100644 index 00000000000..bba15d6f12a --- /dev/null +++ b/mcs/class/System.Web.Mobile/System.Web.UI.MobileControls.Adapters/HtmlFormAdapter.cs @@ -0,0 +1,18 @@ +/** + * Project : Mono + * Namespace : System.Web.UI.MobileControls.Adapters + * Class : HtmlFormAdapter + * Author : Gaurav Vaish + * + * Copyright : 2003 with Gaurav Vaish, and with + * Ximian Inc + */ + +using System; + +namespace System.Web.UI.MobileControls.Adapters +{ + public class HtmlFormAdapter : HtmlControlAdapter + { + } +} diff --git a/mcs/class/System.Web.Mobile/System.Web.UI.MobileControls.Adapters/HtmlPageAdapter.cs b/mcs/class/System.Web.Mobile/System.Web.UI.MobileControls.Adapters/HtmlPageAdapter.cs new file mode 100644 index 00000000000..0d3270502e0 --- /dev/null +++ b/mcs/class/System.Web.Mobile/System.Web.UI.MobileControls.Adapters/HtmlPageAdapter.cs @@ -0,0 +1,18 @@ +/** + * Project : Mono + * Namespace : System.Web.UI.MobileControls.Adapters + * Class : HtmlPageAdapter + * Author : Gaurav Vaish + * + * Copyright : 2003 with Gaurav Vaish, and with + * Ximian Inc + */ + +using System; + +namespace System.Web.UI.MobileControls.Adapters +{ + public class HtmlPageAdapter : HtmlControlAdapter + { + } +} |