Rev 23489 | Rev 23516 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
15127 | 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 SCLCMS2COLORPROFILEIMPL_H |
||
9 | #define SCLCMS2COLORPROFILEIMPL_H |
||
10 | |||
11 | #include <QString> |
||
12 | |||
13 | #include "lcms2.h" |
||
14 | #include "sccolormgmtimplelem.h" |
||
15 | #include "sccolorprofiledata.h" |
||
16 | |||
17 | class ScLcms2ColorProfileImpl : public ScColorProfileImplBase |
||
18 | { |
||
19 | friend class ScLcms2ColorMgmtEngineImpl; |
||
20 | |||
21 | public: |
||
22 | ScLcms2ColorProfileImpl(ScColorMgmtEngine& engine, cmsHPROFILE lcmsProfile); |
||
23 | virtual ~ScLcms2ColorProfileImpl(); |
||
24 | |||
25 | virtual bool isNull() const; |
||
26 | |||
27 | virtual eColorSpaceType colorSpace() const; |
||
28 | virtual eProfileClass deviceClass() const; |
||
23489 | jghali | 29 | virtual bool isSuitableForOutput() const; |
15127 | jghali | 30 | virtual QString productDescription() const; |
23515 | jghali | 31 | virtual bool save(QByteArray& profileData) const; |
15127 | jghali | 32 | |
33 | protected: |
||
34 | cmsHPROFILE m_profileHandle; |
||
35 | mutable QString m_productDescription; |
||
36 | |||
37 | void closeProfile(void); |
||
38 | }; |
||
39 | |||
40 | #endif |