mirror of
				https://github.com/fralx/LimeReport.git
				synced 2025-11-04 07:01:26 +03:00 
			
		
		
		
	IConnectionController has been fixed
This commit is contained in:
		@@ -145,6 +145,8 @@ class IConnectionController{
 | 
			
		||||
public:
 | 
			
		||||
    virtual void addConnectionDesc(ConnectionDesc* connection) = 0;
 | 
			
		||||
    virtual void changeConnectionDesc(ConnectionDesc* connection) = 0;
 | 
			
		||||
    virtual bool checkConnectionDesc(ConnectionDesc* connection) = 0;
 | 
			
		||||
    virtual QString lastError() const = 0;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
class QueryDesc : public QObject{
 | 
			
		||||
@@ -365,7 +367,7 @@ class CallbackDatasource :public ICallbackDatasource, public IDataSource {
 | 
			
		||||
public:
 | 
			
		||||
    CallbackDatasource(): m_currentRow(-1), m_eof(false){}
 | 
			
		||||
    bool next();
 | 
			
		||||
    bool hasNext(){ if (!m_eof) return checkNextRecord(m_currentRow);}
 | 
			
		||||
    bool hasNext(){ if (!m_eof) return checkNextRecord(m_currentRow); else return false;}
 | 
			
		||||
    bool prior(){ if (m_currentRow !=-1) {m_currentRow--; return true;} else return false;}
 | 
			
		||||
    void first();
 | 
			
		||||
    void last(){}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user