2008-04-26 03:20:09 +02:00
|
|
|
|
|
|
|
#ifndef FILEINFO_H
|
|
|
|
#define FILEINFO_H
|
|
|
|
|
|
|
|
|
2008-06-06 00:41:50 +02:00
|
|
|
/*!
|
|
|
|
* \file
|
|
|
|
*
|
|
|
|
* \brief UpnpFileInfo object declararion.
|
|
|
|
*
|
2010-09-12 05:00:08 +02:00
|
|
|
* Detailed description of this class should go here
|
|
|
|
*
|
2008-06-06 00:41:50 +02:00
|
|
|
* \author Marcelo Roberto Jimenez
|
|
|
|
*/
|
|
|
|
|
2011-01-17 11:55:57 +01:00
|
|
|
#include "upnpconfig.h"
|
|
|
|
|
2008-06-06 23:32:51 +02:00
|
|
|
#include <sys/types.h> /* for off_t */
|
|
|
|
#include <time.h> /* for time_t */
|
|
|
|
|
2010-09-12 05:00:08 +02:00
|
|
|
#define CLASS UpnpFileInfo
|
2008-06-06 23:32:51 +02:00
|
|
|
|
2010-09-12 05:00:08 +02:00
|
|
|
#define EXPAND_CLASS_MEMBERS(CLASS) \
|
|
|
|
EXPAND_CLASS_MEMBER_INT(CLASS, FileLength, off_t) \
|
|
|
|
EXPAND_CLASS_MEMBER_INT(CLASS, LastModified, time_t) \
|
|
|
|
EXPAND_CLASS_MEMBER_INT(CLASS, IsDirectory, int) \
|
|
|
|
EXPAND_CLASS_MEMBER_INT(CLASS, IsReadable, int) \
|
|
|
|
EXPAND_CLASS_MEMBER_DOMSTRING(CLASS, ContentType) \
|
|
|
|
EXPAND_CLASS_MEMBER_DOMSTRING(CLASS, ExtraHeaders) \
|
2008-04-26 03:20:09 +02:00
|
|
|
|
2010-09-12 05:00:08 +02:00
|
|
|
#include "TemplateInclude.h"
|
2008-04-26 03:20:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* FILEINFO_H */
|
|
|
|
|