Package org.jnode.driver

Examples of org.jnode.driver.DeviceManagerListener


        final Collection<Device> devs = DeviceUtils.getDevicesByAPI(FrameBufferAPI.class);
        int dev_count = devs.size();
        if (dev_count > 0) {
            startFBConsole(devs.iterator().next());
        } else {
            DeviceUtils.getDeviceManager().addListener(new DeviceManagerListener() {
               
                public void deviceRegistered(Device device) {
                    if (device.implementsAPI(FrameBufferAPI.class)) {
                        startFBConsole(device);
                    }
View Full Code Here

TOP

Related Classes of org.jnode.driver.DeviceManagerListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.