summaryrefslogtreecommitdiff
path: root/src/model/ossmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/ossmodel.h')
-rw-r--r--src/model/ossmodel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/model/ossmodel.h b/src/model/ossmodel.h
index 8c3db8b..0ab6b15 100644
--- a/src/model/ossmodel.h
+++ b/src/model/ossmodel.h
@@ -25,6 +25,8 @@ public:
bool open();
void close();
+ TQString lastError() const { return m_lastError; }
+
TQValueList<OssCard> cards() const { return m_cards; }
TQPtrList<OssDevice> devices() const { return m_devices; }
TQPtrList<OssDevice> devicesForCard( int cardIdx ) const;
@@ -47,4 +49,5 @@ private:
TQPtrList<OssDevice> m_devices;
TQValueList<int> m_fds; // one open fd per card, owned here
TQTimer *m_timer;
+ TQString m_lastError;
};