Squashed 'DCPlugin/' changes from 60c4858..e5a8cfd
e5a8cfd copy of include/interfaces.h 5e6e601 Minor change f3d9c69 Added dc_printTemplate. Fixed implementation of dc_updatePrinterTemplate 3f10469 Added dc_printTemplate. Changed interface for updating printer templates. d92bdbf Added dc_printTemplate. Changed interface for updating printer templates. git-subtree-dir: DCPlugin git-subtree-split: e5a8cfd1cd6a0ece3db295669c801b8e2ea9332b
This commit is contained in:
		@@ -145,9 +145,15 @@ public:
 | 
			
		||||
                     QString comPort) const override;
 | 
			
		||||
    
 | 
			
		||||
    bool dc_updatePrinterTemplate(enum FileTypeJson type,
 | 
			
		||||
                                  int templateNr,
 | 
			
		||||
                                  QString const &fname) const override;
 | 
			
		||||
                                  QVector<int> templateIdx,
 | 
			
		||||
                                  QVector<QString> fnames,
 | 
			
		||||
                                  QString br,
 | 
			
		||||
                                  QString serial) const override;
 | 
			
		||||
 | 
			
		||||
    bool dc_printTemplate(enum FileTypeJson type,
 | 
			
		||||
                          QVector<int> templateIdx,
 | 
			
		||||
                          QString br,
 | 
			
		||||
                          QString serial) const override;
 | 
			
		||||
    // ------------------------------------------------------------------------------
 | 
			
		||||
    // Level 1, control device-controller (functions of µC)
 | 
			
		||||
    // check serial connection to deviceController
 | 
			
		||||
 
 | 
			
		||||
@@ -307,9 +307,16 @@ public:
 | 
			
		||||
        // download binary file down into device controller
 | 
			
		||||
 | 
			
		||||
    virtual bool dc_updatePrinterTemplate(enum FileTypeJson type,
 | 
			
		||||
                                          int templateNr,
 | 
			
		||||
                                          QString const &fname) const = 0;
 | 
			
		||||
                       
 | 
			
		||||
                                          QVector<int> templateIdx,
 | 
			
		||||
                                          QVector<QString> fnames,
 | 
			
		||||
                                          QString br,
 | 
			
		||||
                                          QString serial) const = 0;
 | 
			
		||||
 | 
			
		||||
    virtual bool dc_printTemplate(enum FileTypeJson type,
 | 
			
		||||
                                  QVector<int> templateIdx,
 | 
			
		||||
                                  QString br,
 | 
			
		||||
                                  QString serial) const = 0;
 | 
			
		||||
 | 
			
		||||
    virtual void dc_autoRequest(bool on)  const =0;
 | 
			
		||||
        // on = true:  select that all READ-Requests are sent automatically 
 | 
			
		||||
        // on = false: select that all READ-Requests are sent manually one by one
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user