Reordered methods to match declaration order
This commit is contained in:
parent
be1578363c
commit
452b059b3d
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user