Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


HVM capability enhancement: asynchronous upcalls to ROS userspace
[palacios.git] / linux_usr / vnc / Image.h
1 /* Copyright (C) 2002-2003 RealVNC Ltd.  All Rights Reserved.
2  *    
3  * This is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 2 of the License, or
6  * (at your option) any later version.
7  * 
8  * This software is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  * 
13  * You should have received a copy of the GNU General Public License
14  * along with this software; if not, write to the Free Software
15  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
16  * USA.
17  */
18 //
19 // Image.h
20 //
21
22 #ifndef __IMAGE_H__
23 #define __IMAGE_H__
24
25 #include <X11/Xlib.h>
26 #include <X11/extensions/XShm.h>
27 #include <stdio.h>
28 #include <sys/types.h>
29 #include <sys/uio.h>
30 #include <sys/stat.h>
31 #include <sys/ipc.h>
32 #include <sys/shm.h>
33 #include <sys/ioctl.h>
34 #include <unistd.h> 
35 #include <fcntl.h>
36
37 class Image {
38
39 public:
40
41   Image(int width, int height);
42   ~Image();
43
44   char* data;
45
46 private:
47
48   int height;
49   int width;
50 };
51
52 #endif