xref: /haiku/headers/libs/print/libprint/SpoolMetaData.h (revision b06a48ab8f30b45916a9c157b992827779182163)
1 /*
2  * SpoolMetaData.h
3  * Copyright 2003 Michael Pfeiffer. All Rights Reserved.
4  */
5 
6 #ifndef __SPOOLMETADATA_H
7 #define __SPOOLMETADATA_H
8 
9 #include <SupportDefs.h>
10 #include <File.h>
11 #include <string>
12 using namespace std;
13 
14 class SpoolMetaData {
15 	typedef std::string string;
16 private:
17 	string fDescription;
18 	string fMimeType;
19 	string fCreationTime;
20 
21 public:
22 	SpoolMetaData(BFile* spool_file);
23 	~SpoolMetaData();
24 
25 	const string& getDescription() const { return fDescription; }
26 	const string& getMimeType() const { return fMimeType; }
27 	const string& getCreationTime() const { return fCreationTime; }
28 };
29 
30 #endif	/* __SpoolMetaData_H */
31