UI data is stored on GObjects and automatically destroyed, so this isn't
really needed as a UI op for *our* UIs. There will be a replacement soon
if needed by other UIs.
/*
* nmevent.h
*
* Copyright (c) 2004 Novell, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*
*/
#ifndef PURPLE_NOVELL_NMEVENT_H
#define PURPLE_NOVELL_NMEVENT_H
typedefstruct_NMEventNMEvent;
#include"nmuser.h"
#include<sys/types.h>
/**
* Defines for the event types
*/
#define NMEVT_INVALID_RECIPIENT 101
#define NMEVT_UNDELIVERABLE_STATUS 102
#define NMEVT_STATUS_CHANGE 103
#define NMEVT_CONTACT_ADD 104
#define NMEVT_CONFERENCE_CLOSED 105
#define NMEVT_CONFERENCE_JOINED 106
#define NMEVT_CONFERENCE_LEFT 107
#define NMEVT_RECEIVE_MESSAGE 108
#define NMEVT_RECEIVE_FILE 109
#define NMEVT_USER_TYPING 112
#define NMEVT_USER_NOT_TYPING 113
#define NMEVT_USER_DISCONNECT 114
#define NMEVT_SERVER_DISCONNECT 115
#define NMEVT_CONFERENCE_RENAME 116
#define NMEVT_CONFERENCE_INVITE 117
#define NMEVT_CONFERENCE_INVITE_NOTIFY 118
#define NMEVT_CONFERENCE_REJECT 119
#define NMEVT_RECEIVE_AUTOREPLY 121
#define NMEVT_START NMEVT_INVALID_RECIPIENT
#define NMEVT_STOP NMEVT_RECEIVE_AUTOREPLY
/**
* Process the event. The event will be read, an NMEvent will
* be created, and the event callback will be called.