1/*
2 * Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * All rights reserved. Distributed under the terms of the MIT license.
4 */
5#ifndef ENTRY_LISTENER_H
6#define ENTRY_LISTENER_H
7
8class Entry;
9
10// listening flags
11enum {
12	ENTRY_LISTEN_ANY_ENTRY	= 0x01,
13	ENTRY_LISTEN_ADDED		= 0x02,
14	ENTRY_LISTEN_REMOVED	= 0x04,
15	ENTRY_LISTEN_ALL		= ENTRY_LISTEN_ADDED | ENTRY_LISTEN_REMOVED,
16};
17
18class EntryListener {
19public:
20	EntryListener();
21	virtual ~EntryListener();
22
23	virtual void EntryAdded(Entry *entry);
24	virtual void EntryRemoved(Entry *entry);
25};
26
27#endif	// ENTRY_LISTENER_H
28