mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-01 11:06:30 +03:00
20 lines
272 B
C++
20 lines
272 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 state ) {
|
|
}
|
|
|
|
} // namespace ecode
|