\r
using System;\r
using System.Collections;\r
-using com.google.zxing.qrcode; \r
+using com.google.zxing.qrcode;\r
+using com.google.zxing.oned;\r
\r
namespace com.google.zxing\r
{\r
\r
if (addOneDReader && !tryHarder)\r
{\r
- //readers.Add(new MultiFormatOneDReader(hints));\r
+ readers.Add(new MultiFormatOneDReader(hints));\r
}\r
\r
if (possibleFormats.Contains(BarcodeFormat.QR_CODE))\r
readers.Add(new QRCodeReader());\r
}\r
// TODO re-enable once Data Matrix is ready\r
- //if (possibleFormats.contains(BarcodeFormat.DATAMATRIX)) {\r
- // readers.addElement(new DataMatrixReader());\r
- //}\r
+ if (possibleFormats.Contains(BarcodeFormat.DATAMATRIX)) {\r
+ //readers.Add(new DataMatrixReader());\r
+ }\r
// At end in "try harder" mode\r
if (addOneDReader && tryHarder)\r
{\r
- //readers.Add(new MultiFormatOneDReader(hints));\r
+ readers.Add(new MultiFormatOneDReader(hints));\r
}\r
}\r
\r
public sealed class MultiFormatOneDReader : AbstractOneDReader\r
{ \r
private System.Collections.ArrayList readers;\r
+\r
public MultiFormatOneDReader(System.Collections.Hashtable hints)\r
{\r
System.Collections.ArrayList possibleFormats = hints == null ? null : (System.Collections.ArrayList) hints[DecodeHintType.POSSIBLE_FORMATS];\r
<Compile Include="Writer.cs" />\r
<Compile Include="WriterException.cs" />\r
</ItemGroup>\r
- <ItemGroup>\r
- <Content Include="Note.txt" />\r
- </ItemGroup>\r
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
Other similar extension points exist, see Microsoft.Common.targets.\r