CORE-POS/IS4C

View on GitHub
pos/is4c-nf/scale-drivers/drivers/NewMagellan/USBLayer.cs

Summary

Maintainability
A
0 mins
Test Coverage
using System.IO;
using System.Reflection;

[assembly: AssemblyVersion("1.0.*")]

namespace USBLayer {

public class USBWrapper {

    /**
     * Get a handle for USB device file
     * @param filename the name of the file OR vendor and device ids formatted as "vid&pid"
     * @param report_size [optional] report size in bytes
     * @return open read/write FileStream
     */
    public virtual Stream GetUSBHandle(string filename, int report_size){ 
        return null;    
    }

    public virtual void CloseUSBHandle(){ }

}

}