use helper macro for eeze scanner edd setup

SVN revision: 65389
This commit is contained in:
Mike Blumenkrantz 2011-11-18 19:24:21 +00:00
parent 330a63e43d
commit 8c9d0f0aa0
1 changed files with 1 additions and 5 deletions

View File

@ -521,11 +521,7 @@ eet_setup(void)
}
es_edd = eet_data_descriptor_stream_new(&eddc);
#define DAT(MEMBER, TYPE) EET_DATA_DESCRIPTOR_ADD_BASIC(es_edd, Eeze_Scanner_Event, #MEMBER, MEMBER, EET_T_##TYPE)
DAT(device, INLINED_STRING);
DAT(type, UINT);
DAT(volume, UCHAR);
#undef DAT
EEZE_SCANNER_EDD_SETUP(es_edd);
}
static Eina_Bool