Scribus
Open source desktop publishing at your fingertips
sclcmscolorprofileimpl.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 SCLCMSCOLORPROFILEIMPL_H
9 #define SCLCMSCOLORPROFILEIMPL_H
10 
11 #include <QString>
12 
13 #include "lcms.h"
14 #include "sccolormgmtimplelem.h"
15 #include "sccolorprofiledata.h"
16 
18 {
19  friend class ScLcmsColorMgmtEngineImpl;
20 
21 public:
22  ScLcmsColorProfileImpl(ScColorMgmtEngine& engine, cmsHPROFILE lcmsProfile);
23  virtual ~ScLcmsColorProfileImpl();
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: sclcmscolorprofileimpl.h:17
Definition: sclcmscolormgmtengineimpl.h:17
Definition: sccolormgmtengine.h:16