BpsChannelScopeSwitcher(int scopeChannel) : innerChannel(scopeChannel)
 {
     outerChannel = bps_channel_get_active();
     if (outerChannel != innerChannel)
         bps_channel_set_active(innerChannel);
 }
 ~BpsChannelScopeSwitcher()
 {
     if (outerChannel != innerChannel)
         bps_channel_set_active(outerChannel);
 }
예제 #3
0
void BBMBPS::SetActiveChannel(int channel)
{
    bps_channel_set_active(channel);
}