コード例 #1
0
 BpsChannelScopeSwitcher(int scopeChannel) : innerChannel(scopeChannel)
 {
     outerChannel = bps_channel_get_active();
     if (outerChannel != innerChannel)
         bps_channel_set_active(innerChannel);
 }
コード例 #2
0
 ~BpsChannelScopeSwitcher()
 {
     if (outerChannel != innerChannel)
         bps_channel_set_active(outerChannel);
 }
コード例 #3
0
void BBMBPS::SetActiveChannel(int channel)
{
    bps_channel_set_active(channel);
}