Example #1
0
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;
    }
}
Example #2
0
int clearFlipAlarm(int alarmCookie) {

	//This is pretty easy
	return alarmd_event_del((cookie_t) alarmCookie);

}