1/* 2 * Copyright 2011, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef PACKAGE_LINKS_LISTENER_H 6#define PACKAGE_LINKS_LISTENER_H 7 8 9#include <SupportDefs.h> 10 11 12class Node; 13class OldNodeAttributes; 14 15 16class PackageLinksListener { 17public: 18 virtual ~PackageLinksListener(); 19 20 virtual void PackageLinkNodeAdded(Node* node) = 0; 21 virtual void PackageLinkNodeRemoved(Node* node) = 0; 22 virtual void PackageLinkNodeChanged(Node* node, 23 uint32 statFields, 24 const OldNodeAttributes& oldAttributes) = 0; 25}; 26 27 28#endif // PACKAGE_LINKS_LISTENER_H 29