001/* 002 * To change this template, choose Tools | Templates 003 * and open the template in the editor. 004 */ 005package org.anarres.qemu.exec.host.chardev; 006 007import java.util.HashMap; 008import java.util.Map; 009 010/** 011 * 012 * @author shevek 013 */ 014public class CustomCharDevice extends AbstractCharDevice { 015 016 public final Map<String, Object> properties = new HashMap<String, Object>(); 017 018 public CustomCharDevice(String name) { 019 super(name); 020 } 021 022 @Override 023 protected void addProperties(Map<String, Object> m) { 024 m.putAll(properties); 025 } 026}