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
10namespace srchilite {
11
12struct HighlightEvent;
13
18{
19public:
21 virtual ~HighlightEventListener() {}
22
28 virtual void notify(const HighlightEvent &event) = 0;
29};
30
31}
32
33#endif /*HIGHLIGHTEVENTLISTENER_H_*/
Base class for listeners of HighlightEvent.
Definition: highlighteventlistener.h:18
virtual void notify(const HighlightEvent &event)=0
The method called to notify the listener about an event.
C++ class: doctemplate.h.
Definition: bufferedoutput.cpp:13
Event concerning an highlighting operation (e.g., formatting, entering a new state,...
Definition: highlightevent.h:18