Searched refs:sWatcher (Results 1 – 2 of 2) sorted by relevance
18 static VolumeWatcher* sWatcher; variable111 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()
25 static NetworkWatcher* sWatcher; variable107 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()