index_server: Fix the build.

Partially based on a patch from Paradoxianer. Thanks!
This commit is contained in:
Augustin Cavalier 2015-07-25 10:33:45 -04:00
parent 3860139319
commit ca8ed5ea66
4 changed files with 5 additions and 5 deletions

View File

@ -49,7 +49,7 @@ protected:
private:
FileAnalyser* _FindAnalyser(const BString& name);
vint32 fStopped;
int32 fStopped;
};
#endif // ANALYSER_DISPATCHER

View File

@ -317,7 +317,7 @@ IndexServer::_StartWatchingAddOns()
fPulseRunner = new BMessageRunner(&fAddOnMonitorHandler, &pulse, 1000000LL);
// the monitor handler needs a pulse to check if add-ons are ready
&fAddOnMonitorHandler->AddAddOnDirectories("index_server");
fAddOnMonitorHandler.AddAddOnDirectories("index_server");
}

View File

@ -59,7 +59,7 @@ WatchNameHandler::EntryMoved(const char *name, const char *fromName,
{
entry_ref ref(device, to_directory, name);
entry_ref refFrom(device, from_directory, fromName);
fVolumeWatcher->fMovedList.CurrentList()->push_back(ref);
fVolumeWatcher->fMovedFromList.CurrentList()->push_back(refFrom);
fVolumeWatcher->_NewEntriesArrived();
@ -470,7 +470,7 @@ VolumeWatcher::StartWatching()
void
VolumeWatcher::Stop()
{
char name[255];
fVolume.GetName(name);

View File

@ -71,7 +71,7 @@ private:
void _SetBusy(bool busy = true);
VolumeWatcher* fVolumeWatcher;
vint32 fBusy;
int32 fBusy;
};