FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
WindowContextX11.h
1 /**********************************************************\
2  Original Author: Georg Fritzsche
3 
4  Created: Oct 23, 2010
5  License: Dual license model; choose one of two:
6  New BSD License
7  http://www.opensource.org/licenses/bsd-license.php
8  - or -
9  GNU Lesser General Public License, version 2.1
10  http://www.gnu.org/licenses/lgpl-2.1.html
11 
12  Copyright 2010 Georg Fritzsche, Firebreath development team
13  \*********************************************************
14  */
15 
16 #pragma once
17 #ifndef H_FB_WINDOWCONTEXTX11
18 #define H_FB_WINDOWCONTEXTX11
19 
20 #include "global/config.h"
21 #include "NpapiTypes.h"
22 
23 #if FB_GUI_DISABLED == 1
24 typedef long int GdkNativeWindow;
25 #endif
26 
27 namespace FB
28 {
29  struct WindowContextX11
30  {
31  GdkNativeWindow window;
32  WindowContextX11(GdkNativeWindow window)
33  : window(window)
34  {}
35  };
36 }
37 
38 #endif
39