index_server: Fix the build.
Partially based on a patch from Paradoxianer. Thanks!
This commit is contained in:
parent
3860139319
commit
ca8ed5ea66
@ -49,7 +49,7 @@ protected:
|
||||
private:
|
||||
FileAnalyser* _FindAnalyser(const BString& name);
|
||||
|
||||
vint32 fStopped;
|
||||
int32 fStopped;
|
||||
};
|
||||
|
||||
#endif // ANALYSER_DISPATCHER
|
||||
|
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -71,7 +71,7 @@ private:
|
||||
void _SetBusy(bool busy = true);
|
||||
|
||||
VolumeWatcher* fVolumeWatcher;
|
||||
vint32 fBusy;
|
||||
int32 fBusy;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user