36 lines
748 B
C
36 lines
748 B
C
|
|
#ifndef FILEINFO_H
|
|
#define FILEINFO_H
|
|
|
|
|
|
/*!
|
|
* \file
|
|
*
|
|
* \brief UpnpFileInfo object declararion.
|
|
*
|
|
* Detailed description of this class should go here
|
|
*
|
|
* \author Marcelo Roberto Jimenez
|
|
*/
|
|
|
|
#include "upnpconfig.h"
|
|
|
|
#include <sys/types.h> /* for off_t */
|
|
#include <time.h> /* for time_t */
|
|
|
|
#define CLASS UpnpFileInfo
|
|
|
|
#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) \
|
|
|
|
#include "TemplateInclude.h"
|
|
|
|
|
|
#endif /* FILEINFO_H */
|
|
|