mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 18:46:29 +03:00
20 lines
266 B
C++
20 lines
266 B
C++
#include "bus.hpp"
|
|
|
|
namespace ecode {
|
|
|
|
Bus::State Bus::state() const {
|
|
return mState;
|
|
}
|
|
|
|
void Bus::setState( State state ) {
|
|
if ( state == mState )
|
|
return;
|
|
mState = state;
|
|
onStateChanged( state );
|
|
}
|
|
|
|
void Bus::onStateChanged( State ) {
|
|
}
|
|
|
|
} // namespace ecode
|