Back to index

texmacs  1.0.7.15
composite_event.hpp
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003 * MODULE     : composite_event.hpp
00004 * DESCRIPTION: Events for modification of composite widgets
00005 * COPYRIGHT  : (C) 1999  Joris van der Hoeven
00006 *******************************************************************************
00007 * This software falls under the GNU general public license version 3 or later.
00008 * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
00009 * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
00010 ******************************************************************************/
00011 
00012 #ifndef COMPOSITE_EVENT_H
00013 #define COMPOSITE_EVENT_H
00014 #include "Widkit/event.hpp"
00015 #include "Widkit/wk_widget.hpp"
00016 #include "Widkit/Event/event_codes.hpp"
00017 
00018 /******************************************************************************
00019 * Events for composite widgets
00020 ******************************************************************************/
00021 
00022 struct clean_event_rep: public event_rep {
00023   clean_event_rep ();
00024   operator tree ();
00025 };
00026 EVENT(clean_event);
00027 
00028 struct insert_event_rep: public event_rep {
00029   string s; wk_widget w;
00030   insert_event_rep (string s, wk_widget w);
00031   operator tree ();
00032 };
00033 EVENT(insert_event);
00034 
00035 struct remove_event_rep: public event_rep {
00036   string s;
00037   remove_event_rep (string s);
00038   operator tree ();
00039 };
00040 EVENT(remove_event);
00041 
00042 #endif // defined COMPOSITE_EVENT_H