panel_wrap.h (1239B) - raw
1 /*
2 * ncurses-ruby is a ruby module for accessing the FSF's ncurses library
3 * (C) 2002 Tobias Peters <t-peters@berlios.de>
4 * (C) 2011 Tobias Herzke
5 *
6 * This module is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This module is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this module; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21 /* $Id: panel_wrap.h,v 1.6 2011-05-30 23:05:50 t-peters Exp $ */
22
23 #if !defined(PANEL_HH) && (defined(HAVE_PANEL_H) || defined(HAVE_NCURSESW_PANEL_H))
24 #define PANEL_HH
25 #ifdef HAVE_PANEL_H
26 #include <panel.h>
27 #else
28 #include <ncursesw/panel.h>
29 #endif
30 #include <ruby.h>
31
32 extern VALUE mPanel;
33 extern VALUE cPANEL;
34
35 void init_panel(void);
36
37 #endif