void Maemo5Alarm::remove() { if (m_set) { if( alarmd_event_del(m_data->cookie) == -1 ) { qDebug() << "Unable to delete cookie" << m_data->cookie; return; } m_set = false; } }
int clearFlipAlarm(int alarmCookie) { //This is pretty easy return alarmd_event_del((cookie_t) alarmCookie); }