haiku/headers/private/print/libprint/SpoolMetaData.h
Oliver Tappe 6b376d6055 * fixed all compilation issues of printkit-stuff with gcc4 on Linux
* removed leagcy _sstream-header, we now use sstream, as both compilers provide it



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-23 22:57:37 +00:00

31 lines
628 B
C++

/*
* SpoolMetaData.h
* Copyright 2003 Michael Pfeiffer. All Rights Reserved.
*/
#ifndef __SPOOLMETADATA_H
#define __SPOOLMETADATA_H
#include <SupportDefs.h>
#include <File.h>
#include <string>
using namespace std;
class SpoolMetaData {
typedef std::string string;
private:
string fDescription;
string fMimeType;
string fCreationTime;
public:
SpoolMetaData(BFile* spool_file);
~SpoolMetaData();
const string& getDescription() const { return fDescription; }
const string& getMimeType() const { return fMimeType; }
const string& getCreationTime() const { return fCreationTime; }
};
#endif /* __SpoolMetaData_H */