Changeset 59 in projects for punch-card-project/trunk/punch-card-editor/src/driver/driver.cc
- Timestamp:
- Jan 22, 2010, 7:44:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
punch-card-project/trunk/punch-card-editor/src/driver/driver.cc
r53 r59 1 1 #include "driver.h" 2 3 #include "driver/documation-m200-client/controller.h" 2 4 3 5 #include <QLabel> … … 29 31 QList<QString> DriverFactory::availableDrivers() { 30 32 QList<QString> ret; 31 ret << "Test" ;33 ret << "Test" << "Documation M200 Card Reader"; 32 34 return ret; 33 35 } … … 36 38 if(name == "Test") { 37 39 return new QLabel("This is the Test driver :-)", parent); 40 } else if(name == "Documation M200 Card Reader") { 41 return new DocumationM200::Controller(parent); 38 42 } else { 39 43 qDebug() << "DriverFactory: Bad driver: " << name;
Note: See TracChangeset
for help on using the changeset viewer.