Home
last modified time | relevance | path

Searched refs:sWatcher (Results 1 – 2 of 2) sorted by relevance

/haiku/src/servers/launch/
H A DVolumeWatcher.cpp18 static VolumeWatcher* sWatcher; variable
111 if (sWatcher == NULL) in Register()
112 sWatcher = new VolumeWatcher(); in Register()
114 sWatcher->AddListener(listener); in Register()
122 sWatcher->RemoveListener(listener); in Unregister()
124 if (sWatcher->CountListeners() == 0) in Unregister()
125 delete sWatcher; in Unregister()
H A DNetworkWatcher.cpp25 static NetworkWatcher* sWatcher; variable
107 if (sWatcher == NULL) in Register()
108 sWatcher = new NetworkWatcher(); in Register()
110 sWatcher->AddListener(listener); in Register()
118 sWatcher->RemoveListener(listener); in Unregister()
120 if (sWatcher->CountListeners() == 0) in Unregister()
121 delete sWatcher; in Unregister()