[eglib] Prefer <langinfo.h> to <localcharset.h>
[mono.git] / mcs / class / System.Web.Abstractions / System.Web / HttpBrowserCapabilitiesBase.cs
1 //
2 // HttpBrowserCapabilitiesBase.cs
3 //
4 // Author:
5 //      Atsushi Enomoto <atsushi@ximian.com>
6 //
7 // Copyright (C) 2008 Novell Inc. http://novell.com
8 //
9
10 //
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
18 // 
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 // 
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30 using System;
31 using System.Collections;
32 using System.Collections.Generic;
33 using System.Globalization;
34 using System.IO;
35 using System.Runtime.CompilerServices;
36 using System.Security.Permissions;
37 using System.Security.Principal;
38 using System.Web.Caching;
39 using System.Web.UI;
40
41 namespace System.Web
42 {
43         [TypeForwardedFrom ("System.Web.Abstractions, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")]
44         [AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
45         [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
46         public abstract class HttpBrowserCapabilitiesBase : IFilterResolutionService
47         {
48                 void NotImplemented ()
49                 {
50                         throw new NotImplementedException ();
51                 }
52
53                 public virtual bool ActiveXControls { get { NotImplemented (); return false; } }
54
55                 public virtual IDictionary Adapters { get { NotImplemented (); return null; } }
56
57                 public virtual bool AOL { get { NotImplemented (); return false; } }
58
59                 public virtual bool BackgroundSounds { get { NotImplemented (); return false; } }
60
61                 public virtual bool Beta { get { NotImplemented (); return false; } }
62
63                 public virtual string Browser { get { NotImplemented (); return null; } }
64
65                 public virtual ArrayList Browsers { get { NotImplemented (); return null; } }
66
67                 public virtual bool CanCombineFormsInDeck { get { NotImplemented (); return false; } }
68
69                 public virtual bool CanInitiateVoiceCall { get { NotImplemented (); return false; } }
70
71                 public virtual bool CanRenderAfterInputOrSelectElement { get { NotImplemented (); return false; } }
72
73                 public virtual bool CanRenderEmptySelects { get { NotImplemented (); return false; } }
74
75                 public virtual bool CanRenderInputAndSelectElementsTogether { get { NotImplemented (); return false; } }
76
77                 public virtual bool CanRenderMixedSelects { get { NotImplemented (); return false; } }
78
79                 public virtual bool CanRenderOneventAndPrevElementsTogether { get { NotImplemented (); return false; } }
80
81                 public virtual bool CanRenderPostBackCards { get { NotImplemented (); return false; } }
82
83                 public virtual bool CanRenderSetvarZeroWithMultiSelectionList { get { NotImplemented (); return false; } }
84
85                 public virtual bool CanSendMail { get { NotImplemented (); return false; } }
86
87                 public virtual IDictionary Capabilities { get; set; }
88
89                 public virtual bool CDF { get { NotImplemented (); return false; } }
90
91                 public virtual Version ClrVersion { get { NotImplemented (); return null; } }
92
93                 public virtual bool Cookies { get { NotImplemented (); return false; } }
94
95                 public virtual bool Crawler { get { NotImplemented (); return false; } }
96
97                 public virtual int DefaultSubmitButtonLimit { get { NotImplemented (); return 0; } }
98
99                 public virtual Version EcmaScriptVersion { get { NotImplemented (); return null; } }
100
101                 public virtual bool Frames { get { NotImplemented (); return false; } }
102
103                 public virtual int GatewayMajorVersion { get { NotImplemented (); return 0; } }
104
105                 public virtual double GatewayMinorVersion { get { NotImplemented (); return 0; } }
106
107                 public virtual string GatewayVersion { get { NotImplemented (); return null; } }
108
109                 public virtual bool HasBackButton { get { NotImplemented (); return false; } }
110
111                 public virtual bool HidesRightAlignedMultiselectScrollbars { get { NotImplemented (); return false; } }
112
113                 public virtual string HtmlTextWriter { get; set; }
114
115                 public virtual string Id { get { NotImplemented (); return null; } }
116
117                 public virtual string InputType { get { NotImplemented (); return null; } }
118
119                 public virtual bool IsColor { get { NotImplemented (); return false; } }
120
121                 public virtual bool IsMobileDevice { get { NotImplemented (); return false; } }
122
123                 public virtual string this [string key] {
124                         get { throw new NotImplementedException (); }
125                 }
126
127                 public virtual bool JavaApplets { get { NotImplemented (); return false; } }
128
129                 public virtual Version JScriptVersion { get { NotImplemented (); return null; } }
130
131                 public virtual int MajorVersion { get { NotImplemented (); return 0; } }
132
133                 public virtual int MaximumHrefLength { get { NotImplemented (); return 0; } }
134
135                 public virtual int MaximumRenderedPageSize { get { NotImplemented (); return 0; } }
136
137                 public virtual int MaximumSoftkeyLabelLength { get { NotImplemented (); return 0; } }
138
139                 public virtual double MinorVersion { get { NotImplemented (); return 0; } }
140
141                 public virtual string MinorVersionString { get { NotImplemented (); return null; } }
142
143                 public virtual string MobileDeviceManufacturer { get { NotImplemented (); return null; } }
144
145                 public virtual string MobileDeviceModel { get { NotImplemented (); return null; } }
146
147                 public virtual Version MSDomVersion { get { NotImplemented (); return null; } }
148
149                 public virtual int NumberOfSoftkeys { get { NotImplemented (); return 0; } }
150
151                 public virtual string Platform { get { NotImplemented (); return null; } }
152
153                 public virtual string PreferredImageMime { get { NotImplemented (); return null; } }
154
155                 public virtual string PreferredRenderingMime { get { NotImplemented (); return null; } }
156
157                 public virtual string PreferredRenderingType { get { NotImplemented (); return null; } }
158
159                 public virtual string PreferredRequestEncoding { get { NotImplemented (); return null; } }
160
161                 public virtual string PreferredResponseEncoding { get { NotImplemented (); return null; } }
162
163                 public virtual bool RendersBreakBeforeWmlSelectAndInput { get { NotImplemented (); return false; } }
164
165                 public virtual bool RendersBreaksAfterHtmlLists { get { NotImplemented (); return false; } }
166
167                 public virtual bool RendersBreaksAfterWmlAnchor { get { NotImplemented (); return false; } }
168
169                 public virtual bool RendersBreaksAfterWmlInput { get { NotImplemented (); return false; } }
170
171                 public virtual bool RendersWmlDoAcceptsInline { get { NotImplemented (); return false; } }
172
173                 public virtual bool RendersWmlSelectsAsMenuCards { get { NotImplemented (); return false; } }
174
175                 public virtual string RequiredMetaTagNameValue { get { NotImplemented (); return null; } }
176
177                 public virtual bool RequiresAttributeColonSubstitution { get { NotImplemented (); return false; } }
178
179                 public virtual bool RequiresContentTypeMetaTag { get { NotImplemented (); return false; } }
180
181                 public virtual bool RequiresControlStateInSession { get { NotImplemented (); return false; } }
182
183                 public virtual bool RequiresDBCSCharacter { get { NotImplemented (); return false; } }
184
185                 public virtual bool RequiresHtmlAdaptiveErrorReporting { get { NotImplemented (); return false; } }
186
187                 public virtual bool RequiresLeadingPageBreak { get { NotImplemented (); return false; } }
188
189                 public virtual bool RequiresNoBreakInFormatting { get { NotImplemented (); return false; } }
190
191                 public virtual bool RequiresOutputOptimization { get { NotImplemented (); return false; } }
192
193                 public virtual bool RequiresPhoneNumbersAsPlainText { get { NotImplemented (); return false; } }
194
195                 public virtual bool RequiresSpecialViewStateEncoding { get { NotImplemented (); return false; } }
196
197                 public virtual bool RequiresUniqueFilePathSuffix { get { NotImplemented (); return false; } }
198
199                 public virtual bool RequiresUniqueHtmlCheckboxNames { get { NotImplemented (); return false; } }
200
201                 public virtual bool RequiresUniqueHtmlInputNames { get { NotImplemented (); return false; } }
202
203                 public virtual bool RequiresUrlEncodedPostfieldValues { get { NotImplemented (); return false; } }
204
205                 public virtual int ScreenBitDepth { get { NotImplemented (); return 0; } }
206
207                 public virtual int ScreenCharactersHeight { get { NotImplemented (); return 0; } }
208
209                 public virtual int ScreenCharactersWidth { get { NotImplemented (); return 0; } }
210
211                 public virtual int ScreenPixelsHeight { get { NotImplemented (); return 0; } }
212
213                 public virtual int ScreenPixelsWidth { get { NotImplemented (); return 0; } }
214
215                 public virtual bool SupportsAccesskeyAttribute { get { NotImplemented (); return false; } }
216
217                 public virtual bool SupportsBodyColor { get { NotImplemented (); return false; } }
218
219                 public virtual bool SupportsBold { get { NotImplemented (); return false; } }
220
221                 public virtual bool SupportsCacheControlMetaTag { get { NotImplemented (); return false; } }
222
223                 public virtual bool SupportsCallback { get { NotImplemented (); return false; } }
224
225                 public virtual bool SupportsCss { get { NotImplemented (); return false; } }
226
227                 public virtual bool SupportsDivAlign { get { NotImplemented (); return false; } }
228
229                 public virtual bool SupportsDivNoWrap { get { NotImplemented (); return false; } }
230
231                 public virtual bool SupportsEmptyStringInCookieValue { get { NotImplemented (); return false; } }
232
233                 public virtual bool SupportsFontColor { get { NotImplemented (); return false; } }
234
235                 public virtual bool SupportsFontName { get { NotImplemented (); return false; } }
236
237                 public virtual bool SupportsFontSize { get { NotImplemented (); return false; } }
238
239                 public virtual bool SupportsImageSubmit { get { NotImplemented (); return false; } }
240
241                 public virtual bool SupportsIModeSymbols { get { NotImplemented (); return false; } }
242
243                 public virtual bool SupportsInputIStyle { get { NotImplemented (); return false; } }
244
245                 public virtual bool SupportsInputMode { get { NotImplemented (); return false; } }
246
247                 public virtual bool SupportsItalic { get { NotImplemented (); return false; } }
248
249                 public virtual bool SupportsJPhoneMultiMediaAttributes { get { NotImplemented (); return false; } }
250
251                 public virtual bool SupportsJPhoneSymbols { get { NotImplemented (); return false; } }
252
253                 public virtual bool SupportsQueryStringInFormAction { get { NotImplemented (); return false; } }
254
255                 public virtual bool SupportsRedirectWithCookie { get { NotImplemented (); return false; } }
256
257                 public virtual bool SupportsSelectMultiple { get { NotImplemented (); return false; } }
258
259                 public virtual bool SupportsUncheck { get { NotImplemented (); return false; } }
260
261                 public virtual bool SupportsXmlHttp { get { NotImplemented (); return false; } }
262
263                 public virtual bool Tables { get { NotImplemented (); return false; } }
264
265                 public virtual Type TagWriter { get { NotImplemented (); return null; } }
266
267                 public virtual string Type { get { NotImplemented (); return null; } }
268
269                 public virtual bool UseOptimizedCacheKey { get { NotImplemented (); return false; } }
270
271                 public virtual bool VBScript { get { NotImplemented (); return false; } }
272
273                 public virtual string Version { get { NotImplemented (); return null; } }
274
275                 public virtual Version W3CDomVersion { get { NotImplemented (); return null; } }
276
277                 public virtual bool Win16 { get { NotImplemented (); return false; } }
278
279                 public virtual bool Win32 { get { NotImplemented (); return false; } }
280
281                 public virtual void AddBrowser (string browserName)
282                 {
283                         NotImplemented ();
284                 }
285
286                 public virtual int CompareFilters (string filter1, string filter2)
287                 {
288                         NotImplemented ();
289                         return 0;
290                 }
291
292                 public virtual HtmlTextWriter CreateHtmlTextWriter (TextWriter w)
293                 {
294                         NotImplemented ();
295                         return null;
296                 }
297
298                 public virtual void DisableOptimizedCacheKey ()
299                 {
300                         NotImplemented ();
301                 }
302
303                 public virtual bool EvaluateFilter (string filterName)
304                 {
305                         NotImplemented ();
306                         return false;
307                 }
308
309                 public virtual Version [] GetClrVersions ()
310                 {
311                         NotImplemented ();
312                         return null;
313                 }
314
315                 public virtual bool IsBrowser (string browserName)
316                 {
317                         NotImplemented ();
318                         return false;
319                 }
320         }
321 }