Blame src/eventt.h

Packit cfa437
/*
Packit cfa437
 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
Packit cfa437
 * See the COPYING file in the top-level directory.
Packit cfa437
 */
Packit cfa437
Packit cfa437
#ifndef EVENTT_H
Packit cfa437
#define EVENTT_H 1
Packit cfa437
Packit cfa437
#include "vreadert.h"
Packit cfa437
#include "vcardt.h"
Packit cfa437
Packit cfa437
typedef struct VEventStruct VEvent;
Packit cfa437
Packit cfa437
typedef enum {
Packit cfa437
    VEVENT_READER_INSERT,
Packit cfa437
    VEVENT_READER_REMOVE,
Packit cfa437
    VEVENT_CARD_INSERT,
Packit cfa437
    VEVENT_CARD_REMOVE,
Packit cfa437
    VEVENT_LAST,
Packit cfa437
} VEventType;
Packit cfa437
Packit cfa437
struct VEventStruct {
Packit cfa437
    VEvent *next;
Packit cfa437
    VEventType type;
Packit cfa437
    VReader *reader;
Packit cfa437
    VCard *card;
Packit cfa437
};
Packit cfa437
#endif
Packit cfa437
Packit cfa437