Ejemplo n.º 1
0
    PLUGIN_FUNCTION_ARG4(RingLine, unsigned,line, unsigned,nCadence, const unsigned *,pattern, unsigned,frequency)
    {
        if (m_hWnd == NULL)
            return PluginLID_DeviceNotOpen;

        if (line >= 1)
            return PluginLID_NoSuchLine;

        if (nCadence > 0)
            StartBuzzer();
        else
            StopBuzzer();
    }
Ejemplo n.º 2
0
void
wxGamePanel::OnBuzzerTimer(wxTimerEvent& event)
{
    StopBuzzer();
}