Back to index

lshw  02.16
display.cc
Go to the documentation of this file.
00001 /*
00002  * display.cc
00003  *
00004  *
00005  */
00006 
00007 #include "display.h"
00008 
00009 static const char rcsid[] = "@(#) $Id: fb.cc 576 2004-05-07 07:13:31Z ezix $";
00010 
00011 bool scan_display(hwNode & n)
00012 {
00013   if((n.getClass() == hw::display) && n.isCapable("vga"))
00014   {
00015     n.claim(true);
00016   }
00017 
00018   for(unsigned int i=0; i<n.countChildren(); i++)
00019     scan_display(*n.getChild(i));
00020 
00021   return true;
00022 }