23 lines
354 B
C++
23 lines
354 B
C++
#ifndef _QUICKCAM_H_
|
|
#define _QUICKCAM_H_
|
|
|
|
#include "camera.h"
|
|
|
|
class Quickcam : public Camera
|
|
{
|
|
public:
|
|
Quickcam( char *device );
|
|
virtual ~Quickcam( void );
|
|
|
|
void update( void );
|
|
|
|
private:
|
|
void doOrDie(int retval, char *message);
|
|
|
|
int fd;
|
|
const int bytes; //number of bytes to read (width*height*bpp)
|
|
|
|
};
|
|
|
|
#endif /* ifndef _QUICKCAM_H_ */
|