Reordered methods to match declaration order

This commit is contained in:
Ingo Weinhold 2011-06-24 13:33:24 +02:00
parent 59acdf5045
commit fd6d5d5a51
1 changed files with 17 additions and 17 deletions

View File

@ -638,23 +638,6 @@ Volume::AddPackageDomain(const char* path)
}
void
Volume::_RemovePackageDomain(PackageDomain* domain)
{
// remove the domain's packages from the node tree
VolumeWriteLocker systemVolumeLocker(_SystemVolumeIfNotSelf());
VolumeWriteLocker volumeLocker(this);
for (PackageFileNameHashTable::Iterator it
= domain->Packages().GetIterator(); Package* package = it.Next();) {
_RemovePackageContent(package, NULL, false);
}
// remove the domain
fPackageDomains.Remove(domain);
domain->ReleaseReference();
}
void
Volume::PackageLinkDirectoryAdded(PackageLinkDirectory* directory)
{
@ -806,6 +789,23 @@ Volume::_AddPackageDomain(PackageDomain* domain, bool notify)
}
void
Volume::_RemovePackageDomain(PackageDomain* domain)
{
// remove the domain's packages from the node tree
VolumeWriteLocker systemVolumeLocker(_SystemVolumeIfNotSelf());
VolumeWriteLocker volumeLocker(this);
for (PackageFileNameHashTable::Iterator it
= domain->Packages().GetIterator(); Package* package = it.Next();) {
_RemovePackageContent(package, NULL, false);
}
// remove the domain
fPackageDomains.Remove(domain);
domain->ReleaseReference();
}
status_t
Volume::_LoadPackage(Package* package)
{