From 22908ff52497b931b762c5e87e19f2a47dfc100a Mon Sep 17 00:00:00 2001 From: schodet Date: Sun, 25 May 2003 15:56:03 +0000 Subject: Ça marche !!!!! Utilisation de Config. --- 2003/i/buzz/src/camera/camera.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '2003/i/buzz/src/camera/camera.h') diff --git a/2003/i/buzz/src/camera/camera.h b/2003/i/buzz/src/camera/camera.h index 954980c..2d056c4 100644 --- a/2003/i/buzz/src/camera/camera.h +++ b/2003/i/buzz/src/camera/camera.h @@ -7,7 +7,8 @@ class Camera { int m_fd; - static const int m_w = 352, m_h = 288; + int m_w, m_h; + int m_cut; int m_frameSize; public: // Constructeur. @@ -15,7 +16,7 @@ class Camera // Destructeur. ~Camera (); // Lit une image. - void read (unsigned char *image) const; + int read (unsigned char *image) const; // Lit la taille. void getSize (int &w, int &h) const { w = m_w; h = m_h; } }; -- cgit v1.2.3