Scribus
Open source desktop publishing at your fingertips
sclcms2colorprofileimpl.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 SCLCMS2COLORPROFILEIMPL_H
9 #define SCLCMS2COLORPROFILEIMPL_H
10 
11 #include <QString>
12 
13 #include "lcms2.h"
14 #include "sccolormgmtimplelem.h"
15 #include "sccolorprofiledata.h"
16 
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;
29  virtual QString productDescription() const;
30 
31 protected:
32  cmsHPROFILE m_profileHandle;
33  mutable QString m_productDescription;
34 
35  void closeProfile(void);
36 };
37 
38 #endif
Definition: sccolormgmtimplelem.h:14
Definition: sclcms2colormgmtengineimpl.h:17
Definition: sclcms2colorprofileimpl.h:17
Definition: sccolormgmtengine.h:16