344 |
#if HAVE_SQLITE3 |
#if HAVE_SQLITE3 |
345 |
class DbInstrumentsEventHandler : public InstrumentsDb::Listener { |
class DbInstrumentsEventHandler : public InstrumentsDb::Listener { |
346 |
public: |
public: |
|
|
|
|
/** |
|
|
* Invoked when the number of instrument directories |
|
|
* in a specific directory has changed. |
|
|
* @param Dir The absolute pathname of the directory in |
|
|
* which the number of directories is changed. |
|
|
*/ |
|
347 |
virtual void DirectoryCountChanged(String Dir); |
virtual void DirectoryCountChanged(String Dir); |
|
|
|
|
/** |
|
|
* Invoked when the settings of an instrument directory |
|
|
* are changed. |
|
|
* @param Dir The absolute pathname of the directory |
|
|
* whose settings are changed. |
|
|
*/ |
|
348 |
virtual void DirectoryInfoChanged(String Dir); |
virtual void DirectoryInfoChanged(String Dir); |
|
|
|
|
/** |
|
|
* Invoked when an instrument directory is renamed. |
|
|
* @param Dir The old absolute pathname of the directory. |
|
|
* @param NewName The new name of the directory. |
|
|
*/ |
|
349 |
virtual void DirectoryNameChanged(String Dir, String NewName); |
virtual void DirectoryNameChanged(String Dir, String NewName); |
|
|
|
|
/** |
|
|
* Invoked when the number of instruments |
|
|
* in a specific directory has changed. |
|
|
* @param Dir The absolute pathname of the directory in |
|
|
* which the number of instruments is changed. |
|
|
*/ |
|
350 |
virtual void InstrumentCountChanged(String Dir); |
virtual void InstrumentCountChanged(String Dir); |
|
|
|
|
/** |
|
|
* Invoked when the settings of an instrument are changed. |
|
|
* @param Instr The absolute pathname of the instrument |
|
|
* whose settings are changed. |
|
|
*/ |
|
351 |
virtual void InstrumentInfoChanged(String Instr); |
virtual void InstrumentInfoChanged(String Instr); |
|
|
|
|
/** |
|
|
* Invoked when an instrument is renamed. |
|
|
* @param Instr The old absolute pathname of the instrument. |
|
|
* @param NewName The new name of the directory. |
|
|
*/ |
|
352 |
virtual void InstrumentNameChanged(String Instr, String NewName); |
virtual void InstrumentNameChanged(String Instr, String NewName); |
|
|
|
|
/** |
|
|
* Invoked when the status of particular job is changed. |
|
|
* @param JobId The ID of the job. |
|
|
*/ |
|
353 |
virtual void JobStatusChanged(int JobId); |
virtual void JobStatusChanged(int JobId); |
354 |
} dbInstrumentsEventHandler; |
} dbInstrumentsEventHandler; |
355 |
#endif // HAVE_SQLITE3 |
#endif // HAVE_SQLITE3 |