Scribus
Open source desktop publishing at your fingertips
sccolorprofiledata.h
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 
14 #include "sccolormgmtelem.h"
15 #include "sccolormgmtstructs.h"
16 
18 {
19 private:
20  mutable QString m_profileDataHash;
21 
22 protected:
23  QString m_profilePath;
24  QByteArray m_profileData;
25 
26 public:
27  QString dataHash() const;
28 
29  QString path() const { return m_profilePath; }
30 
31  virtual bool isNull() const = 0;
32  virtual eColorSpaceType colorSpace() const = 0;
33  virtual eProfileClass deviceClass() const = 0;
34  virtual QString productDescription() const = 0;
35 };
36 
37 #endif
Definition: sccolormgmtelem.h:13
Definition: sccolorprofiledata.h:17