QlightRead package | ESS final project 1.22-beta

/home/ron/Desktop/Frontend/src/tools.cpp

Go to the documentation of this file.
00001 
00043 #include <stdio.h>
00044 #include <string>
00045 #include <stdlib.h>
00046 #include <iostream>
00047 
00048 #include <QtGui>
00049 
00050 #include "tools.h"
00051 
00052 
00053 
00054 
00066 int find_estick_device(struct libusb_device_handle **pdevh)
00067 {
00068         *pdevh = libusb_open_device_with_vid_pid(NULL, VID, PID);
00069         return *pdevh ? 0 : -1;
00070 }
00071 
00072 
 All Classes Files Functions Variables Defines