Lines Matching defs:g_monitor
37 static HostDnsMonitor *g_monitor;
133 if (!g_monitor)
136 g_monitor = new HostDnsServiceDarwin();
138 g_monitor = new HostDnsServiceWin();
140 g_monitor = new HostDnsServiceLinux();
142 g_monitor = new HostDnsServiceSolaris();
144 g_monitor = new HostDnsServiceFreebsd();
146 g_monitor = new HostDnsServiceOs2();
148 g_monitor = new HostDnsService();
150 g_monitor->init(aParent);
153 return g_monitor;
177 if (g_monitor)
179 delete g_monitor;
180 g_monitor = NULL;