vfs: check userland buffers before reading them.
[haiku.git] / headers / libs / print / libprint / SpoolMetaData.h
blob508cc02798d49222c3c7c41bb086d40fea9f92eb
1 /*
2 * SpoolMetaData.h
3 * Copyright 2003 Michael Pfeiffer. All Rights Reserved.
4 */
6 #ifndef __SPOOLMETADATA_H
7 #define __SPOOLMETADATA_H
9 #include <SupportDefs.h>
10 #include <File.h>
11 #include <string>
13 using namespace std;
15 class SpoolMetaData {
16 public:
17 SpoolMetaData(BFile* spool_file);
18 ~SpoolMetaData();
20 const string& GetDescription() const;
21 const string& GetMimeType() const;
22 const string& GetCreationTime() const;
24 private:
25 string fDescription;
26 string fMimeType;
27 string fCreationTime;
31 #endif /* __SpoolMetaData_H */