libUPnP 1.8.4
FileInfo.h
Go to the documentation of this file.
1
2#ifndef FILEINFO_H
3#define FILEINFO_H
4
5
16#include "upnpconfig.h"
17
18#include <sys/types.h> /* for off_t */
19#include <time.h> /* for time_t */
20
21#if defined UPNP_LARGEFILE_SENSITIVE && _FILE_OFFSET_BITS+0 != 64
22#error libupnp uses large file support, so users must do that, too
23#endif
24
25#define CLASS UpnpFileInfo
26
27#define EXPAND_CLASS_MEMBERS(CLASS) \
28 EXPAND_CLASS_MEMBER_INT(CLASS, FileLength, off_t) \
29 EXPAND_CLASS_MEMBER_INT(CLASS, LastModified, time_t) \
30 EXPAND_CLASS_MEMBER_INT(CLASS, IsDirectory, int) \
31 EXPAND_CLASS_MEMBER_INT(CLASS, IsReadable, int) \
32 EXPAND_CLASS_MEMBER_DOMSTRING(CLASS, ContentType) \
33 EXPAND_CLASS_MEMBER_DOMSTRING(CLASS, ExtraHeaders) \
34
35#include "TemplateInclude.h"
36
37
38#endif /* FILEINFO_H */
39
Templates for include files of objects.