- As expected, style fixes. Thanks Axel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27105 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e0c8039816
commit
5ec5b4f201
@ -20,12 +20,12 @@ static const char* kCddaFsName = "cdda";
|
||||
|
||||
CDDBDaemon::CDDBDaemon()
|
||||
: BApplication("application/x-vnd.Haiku-CDDBDaemon")
|
||||
, _volumeRoster(new BVolumeRoster)
|
||||
, fVolumeRoster(new BVolumeRoster)
|
||||
{
|
||||
_volumeRoster->StartWatching();
|
||||
fVolumeRoster->StartWatching();
|
||||
|
||||
BVolume volume;
|
||||
while (_volumeRoster->GetNextVolume(&volume) == B_OK) {
|
||||
while (fVolumeRoster->GetNextVolume(&volume) == B_OK) {
|
||||
uint32 cddbId;
|
||||
if (CanLookup(volume.Device(), &cddbId)) {
|
||||
printf("CD can be looked up. CDDB id = %lu.\n", cddbId);
|
||||
@ -37,8 +37,8 @@ CDDBDaemon::CDDBDaemon()
|
||||
|
||||
CDDBDaemon::~CDDBDaemon()
|
||||
{
|
||||
_volumeRoster->StopWatching();
|
||||
delete _volumeRoster;
|
||||
fVolumeRoster->StopWatching();
|
||||
delete fVolumeRoster;
|
||||
}
|
||||
|
||||
|
||||
|
@ -20,7 +20,7 @@ public:
|
||||
private:
|
||||
bool CanLookup(const dev_t device, uint32* cddbId) const;
|
||||
|
||||
BVolumeRoster* _volumeRoster;
|
||||
BVolumeRoster* fVolumeRoster;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user