2 * Copyright 2011, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef PACKAGE_LINKS_DIRECTORY_H
6 #define PACKAGE_LINKS_DIRECTORY_H
13 class PackageLinksListener
;
16 class PackageLinksDirectory
: public Directory
{
18 PackageLinksDirectory();
19 virtual ~PackageLinksDirectory();
21 virtual timespec
ModifiedTime() const;
23 void SetListener(PackageLinksListener
* listener
)
24 { fListener
= listener
; }
26 status_t
AddPackage(Package
* package
);
27 void RemovePackage(Package
* package
);
28 void UpdatePackageDependencies(Package
* package
);
31 timespec fModifiedTime
;
32 PackageLinksListener
* fListener
;
36 #endif // PACKAGE_LINKS_DIRECTORY_H