Source-highlight Library
highlighteventlistener.h
1 //
2 // Author: Lorenzo Bettini <http://www.lorenzobettini.it>, (C) 2004-2008
3 //
4 // Copyright: See COPYING file that comes with this distribution
5 //
6 
7 #ifndef HIGHLIGHTEVENTLISTENER_H_
8 #define HIGHLIGHTEVENTLISTENER_H_
9 
10 namespace srchilite {
11 
12 struct HighlightEvent;
13 
18 {
19 public:
21  virtual ~HighlightEventListener() {}
22 
28  virtual void notify(const HighlightEvent &event) = 0;
29 };
30 
31 }
32 
33 #endif /*HIGHLIGHTEVENTLISTENER_H_*/
C++ class: doctemplate.h.
Definition: bufferedoutput.cpp:13
Event concerning an highlighting operation (e.g., formatting, entering a new state, exiting a state, etc.)
Definition: highlightevent.h:18
Base class for listeners of HighlightEvent.
Definition: highlighteventlistener.h:17
virtual void notify(const HighlightEvent &event)=0
The method called to notify the listener about an event.