diff options
author | Satoshi Noguchi <satoshi.noguchi@jp.synaptics.com> | 2014-09-29 02:47:25 -0700 |
---|---|---|
committer | Satoshi Noguchi <satoshi.noguchi@jp.synaptics.com> | 2014-09-29 13:50:05 -0700 |
commit | 3020cbb062d094612429051eec89f268133799ac (patch) | |
tree | d2bf0c4bf712586528f667697c490fb9d4889998 /rmidevice/rmidevice.h | |
parent | 2230416db6b17770d7006b37bef08bff5c48cbf0 (diff) | |
download | rmi4utils-3020cbb062d094612429051eec89f268133799ac.tar.gz |
Have interrupt register number and mask in RMIFunction
Diffstat (limited to 'rmidevice/rmidevice.h')
-rw-r--r-- | rmidevice/rmidevice.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rmidevice/rmidevice.h b/rmidevice/rmidevice.h index 3aed3e8..d47ffe1 100644 --- a/rmidevice/rmidevice.h +++ b/rmidevice/rmidevice.h @@ -61,6 +61,8 @@ public: void SetBytesPerReadRequest(int bytes) { m_bytesPerReadRequest = bytes; } + unsigned int GetNumInterruptRegs() { return m_numInterruptRegs; } + protected: std::vector<RMIFunction> m_functionList; unsigned char m_manufacturerID; @@ -91,6 +93,8 @@ protected: bool m_bCancel; int m_bytesPerReadRequest; int m_page; + + unsigned int m_numInterruptRegs; }; /* Utility Functions */ |