libyui-ncurses
NCtoY2Event.h
1 /*
2  Copyright (C) 2000-2012 Novell, Inc
3  This library is free software; you can redistribute it and/or modify
4  it under the terms of the GNU Lesser General Public License as
5  published by the Free Software Foundation; either version 2.1 of the
6  License, or (at your option) version 3.0 of the License. This library
7  is distributed in the hope that it will be useful, but WITHOUT ANY
8  WARRANTY; without even the implied warranty of MERCHANTABILITY or
9  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
10  License for more details. You should have received a copy of the GNU
11  Lesser General Public License along with this library; if not, write
12  to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
13  Floor, Boston, MA 02110-1301 USA
14 */
15 
16 
17 /*-/
18 
19  File: NCtoY2Event.h
20 
21  Authors: Michael Andres <ma@suse.de>
22  Stefan Hundhammer <sh@suse.de>
23 
24 /-*/
25 
26 #ifndef NCtoY2Event_h
27 #define NCtoY2Event_h
28 
29 #include "NCurses.h" // NCursesEvent, iostream
30 
31 
36 class NCtoY2Event : public NCursesEvent
37 {
38 
39 public:
40 
41  friend std::ostream & operator<<( std::ostream & stream, const NCtoY2Event & event );
42 
47 
51  NCtoY2Event( const NCursesEvent & ncev );
52 
56  NCtoY2Event & operator=( const NCursesEvent & ncev );
57 
62  YEvent * propagate();
63 };
64 
65 
66 #endif // ifndef NCtoY2Event_h
Definition: NCurses.h:72
NCtoY2Event & operator=(const NCursesEvent &ncev)
Definition: NCtoY2Event.cc:40
Definition: NCtoY2Event.h:36
NCtoY2Event()
Definition: NCtoY2Event.h:46
YEvent * propagate()
Definition: NCtoY2Event.cc:52