Scribus
Open source desktop publishing at your fingertips
sccolorprofilecache.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 SCCOLORPROFILECACHE_H
9 #define SCCOLORPROFILECACHE_H
10 
11 #include <QMap>
12 #include <QString>
13 #include <QWeakPointer>
14 #include "sccolorprofile.h"
15 
17 {
18 public:
19  void addProfile(const ScColorProfile& profile);
20  void removeProfile(const QString& profilePath);
21  void removeProfile(const ScColorProfile& profile);
22 
23  bool contains(const QString& profilePath);
24  ScColorProfile profile(const QString& profilePath);
25 
26 protected:
27  QMap<QString, QWeakPointer<ScColorProfileData> > m_profileMap;
28 };
29 
30 #endif
Definition: sccolorprofilecache.h:16
Definition: sccolorprofile.h:16