~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to libs/pigment/KoColorTransformationFactoryRegistry.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-21 15:36:35 UTC
  • mfrom: (1.4.1 upstream) (60.2.11 maverick)
  • Revision ID: james.westby@ubuntu.com-20100921153635-6tejqkiro2u21ydi
Tags: 1:2.2.2-0ubuntu3
Add kubuntu_03_fix-crash-on-closing-sqlite-connection-2.2.2.diff and
kubuntu_04_support-large-memo-values-for-msaccess-2.2.2.diff as
recommended by upstream http://kexi-
project.org/wiki/wikiview/index.php@Kexi2.2_Patches.html#sqlite_stab
ility

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
class KoColorTransformationFactory;
29
29
 
30
30
/**
31
 
 * This class list the available transformation. The only reason to use directly 
 
31
 * This class list the available transformation. The only reason to use directly
32
32
 * that class is for adding new factory use the static method
33
33
 * KoColorTransformationFactoryRegistry::add.
34
34
 */
35
 
class PIGMENTCMS_EXPORT KoColorTransformationFactoryRegistry : private KoGenericRegistry<KoColorTransformationFactory*> {
 
35
class PIGMENTCMS_EXPORT KoColorTransformationFactoryRegistry : private KoGenericRegistry<KoColorTransformationFactory*>
 
36
{
36
37
    friend class KoColorSpace;
37
 
    public:
38
 
        ~KoColorTransformationFactoryRegistry();
39
 
        /**
40
 
         * Add a KoColorTransformationFactory to the registry.
41
 
         */
42
 
        static void addColorTransformationFactory(KoColorTransformationFactory* factory);
43
 
    private:
44
 
        static KoColorTransformationFactoryRegistry* instance();
45
 
    private:
46
 
        KoColorTransformationFactoryRegistry();
47
 
    private:
48
 
        struct Private;
49
 
        Private* const d;
 
38
public:
 
39
    ~KoColorTransformationFactoryRegistry();
 
40
    /**
 
41
     * Add a KoColorTransformationFactory to the registry.
 
42
     */
 
43
    static void addColorTransformationFactory(KoColorTransformationFactory* factory);
 
44
    static void removeColorTransformationFactory(KoColorTransformationFactory* factory);
 
45
private:
 
46
    static KoColorTransformationFactoryRegistry* instance();
 
47
private:
 
48
    KoColorTransformationFactoryRegistry();
 
49
private:
 
50
    struct Private;
 
51
    Private* const d;
50
52
};
51
53
 
52
54
#endif