2007-12-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
[mono.git] / mcs / class / System.Drawing / System.Drawing.Imaging / EncoderParameter.jvm.cs
1 //
2 // System.Drawing.Imaging.EncoderParameter.cs
3 //
4 // Author: 
5 //      Ravindra (rkumar@novell.com)
6 //  Vladimir Vukicevic (vladimir@pobox.com)
7 //
8 // (C) 2004 Novell, Inc.  http://www.novell.com
9 //
10
11 //
12 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
13 //
14 // Permission is hereby granted, free of charge, to any person obtaining
15 // a copy of this software and associated documentation files (the
16 // "Software"), to deal in the Software without restriction, including
17 // without limitation the rights to use, copy, modify, merge, publish,
18 // distribute, sublicense, and/or sell copies of the Software, and to
19 // permit persons to whom the Software is furnished to do so, subject to
20 // the following conditions:
21 // 
22 // The above copyright notice and this permission notice shall be
23 // included in all copies or substantial portions of the Software.
24 // 
25 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
26 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
27 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
28 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
29 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
30 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
31 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32 //
33
34 using System;
35 using System.Text;
36
37 using System.Runtime.InteropServices;
38
39 namespace System.Drawing.Imaging {
40
41         [MonoTODO]
42         public sealed class EncoderParameter : IDisposable {
43
44                 private Encoder encoder;
45                 private int valuesCount;
46                 private EncoderParameterValueType type;
47
48                 internal EncoderParameter ()
49                 {
50                 }
51
52                 [MonoTODO]
53                 public EncoderParameter (Encoder encoder, byte value)
54                 {
55                         throw new NotImplementedException();
56                 }
57
58                 [MonoTODO]
59                 public EncoderParameter (Encoder encoder, byte[] value)
60                 {
61                         throw new NotImplementedException();
62                 }
63
64                 [MonoTODO]
65                 public EncoderParameter (Encoder encoder, short value)
66                 {
67                         throw new NotImplementedException();
68                 }
69
70                 [MonoTODO]
71                 public EncoderParameter (Encoder encoder, short[] value)
72                 {
73                         throw new NotImplementedException();
74                 }
75
76                 [MonoTODO]
77                 public EncoderParameter (Encoder encoder, long value)
78                 {
79                         throw new NotImplementedException();
80                 }
81
82                 [MonoTODO]
83                 public EncoderParameter (Encoder encoder, long[] value)
84                 {
85                         throw new NotImplementedException();
86                 }
87
88                 [MonoTODO]
89                 public EncoderParameter (Encoder encoder, string value)
90                 {
91                         throw new NotImplementedException();
92                 }
93
94                 [MonoTODO]
95                 public EncoderParameter (Encoder encoder, byte value, bool undefined)
96                 {
97                         throw new NotImplementedException();
98                 }
99
100                 [MonoTODO]
101                 public EncoderParameter (Encoder encoder, byte[] value, bool undefined)
102                 {
103                         throw new NotImplementedException();
104                 }
105
106                 [MonoTODO]
107                 public EncoderParameter (Encoder encoder, int numerator, int denominator)
108                 {
109                         throw new NotImplementedException();
110                 }
111
112                 [MonoTODO]
113                 public EncoderParameter (Encoder encoder, int[] numerator, int[] denominator)
114                 {
115                         throw new NotImplementedException();
116                 }
117
118                 [MonoTODO]
119                 public EncoderParameter (Encoder encoder, long rangebegin, long rangeend)
120                 {
121                         throw new NotImplementedException();
122                 }
123
124                 [MonoTODO]
125                 public EncoderParameter (Encoder encoder, long[] rangebegin, long[] rangeend)
126                 {
127                         throw new NotImplementedException();
128                 }
129
130                 [MonoTODO]
131                 public EncoderParameter (Encoder encoder, int numberOfValues, int type, int value)
132                 {
133                         throw new NotImplementedException();
134                 }
135
136                 [MonoTODO]
137                 public EncoderParameter (Encoder encoder, int numerator1, int denominator1, int numerator2, int denominator2)
138                 {
139                         throw new NotImplementedException();
140                 }
141
142                 [MonoTODO]
143                 public EncoderParameter (Encoder encoder, int[] numerator1, int[] denominator1, int[] numerator2, int[] denominator2)
144                 {
145                         throw new NotImplementedException();
146                 }
147
148                 public Encoder Encoder {
149                         get {
150                                 return encoder;
151                         }
152
153                         set {
154                                 encoder = value;
155                         }
156                 }
157
158                 public int NumberOfValues {
159                         get {
160                                 return valuesCount;
161                         }
162                 }
163
164                 public EncoderParameterValueType Type {
165                         get {
166                                 return type;
167                         }
168                 }
169
170                 public EncoderParameterValueType ValueType {
171                         get {
172                                 return type;
173                         }
174                 }
175
176                 void Dispose (bool disposing) {
177                 }
178
179                 public void Dispose () {
180                         Dispose (true);         
181                 }
182
183         }
184 }