12fd6cc2e7
* move libprint headers into libs headers folder accordingly * merge all shared folders sources into kits print, we might build later on a real print kit, propably also to access cups from an nicely API, atm static * move all shared headers into private print, also pr_server.h from interface * adjust build to work with the changed folder layout git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26570 a95241bf-73f2-0310-859d-f6bbb57e9c96
31 lines
628 B
C++
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 */
|