Subversion Repositories Scribus

Rev

Rev 23489 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
14152 jghali 1
/*
2
For general Scribus (>=1.3.2) copyright and licensing information please refer
3
to the COPYING file provided with the program. Following this notice may exist
4
a copyright and/or license notice that predates the release of Scribus 1.3.2
5
for which a new license (GPL+exception) is in place.
6
*/
7
 
8
#ifndef SCCOLORPROFILEDATA_H
9
#define SCCOLORPROFILEDATA_H
10
 
11
#include <QByteArray>
12
#include <QString>
13
 
14491 jghali 14
#include "sccolormgmtelem.h"
14772 jghali 15
#include "sccolormgmtstructs.h"
14152 jghali 16
 
14491 jghali 17
class ScColorProfileData : public ScColorMgmtElem
14152 jghali 18
{
14539 jghali 19
private:
20
        mutable QString m_profileDataHash;
21
 
14152 jghali 22
protected:
23
        QString m_profilePath;
14527 jghali 24
        QByteArray m_profileData;
14152 jghali 25
 
26
public:
14539 jghali 27
        QString dataHash() const;
14152 jghali 28
 
29
        QString path() const { return m_profilePath; }
30
 
31
        virtual bool isNull() const = 0;
14772 jghali 32
        virtual eColorSpaceType colorSpace()  const = 0;
33
        virtual eProfileClass   deviceClass() const = 0;
23489 jghali 34
        virtual bool    isSuitableForOutput() const = 0;
14152 jghali 35
        virtual QString productDescription() const = 0;
23515 jghali 36
        virtual bool    save(QByteArray& profileData) const = 0;
14152 jghali 37
};
38
 
39
#endif