Added USB print stub

This commit is contained in:
Jaime van Kessel 2015-03-30 11:08:50 +02:00
commit cd888ded32
2 changed files with 21 additions and 0 deletions

6
USBPrintDevice.py Normal file
View file

@ -0,0 +1,6 @@
from UM.StorageDevice import StorageDevice
from UM.Signal import Signal, SignalEmitter
class USBPrintDevice(StorageDevice, SignalEmitter):
def __init__(self):
super().__init__()

15
__init__.py Normal file
View file

@ -0,0 +1,15 @@
from . import USBPrintDevice
def getMetaData():
return {
'type': 'storage_device',
'plugin': {
'name': 'Local File Storage',
'author': 'Jaime van Kessel',
'version': '1.0',
'description': 'Accepts G-Code and sends them to a printer. '
}
}
def register(app):
return USBPrintDevice.USBPrintDevice()