class dtkObjectManager : public QObject
{

%TypeHeaderCode
#include <dtkCore/dtkObjectManager.h>
#include <QtCore>
%End

public:
    static dtkObjectManager *instance();

public:
    int count();

public slots:
    void add(const QVariant&);
    void add(const QVariant&, const QString&);
    bool remove(const QVariant&);

public:
    QVariant value(const QString&) const;
    QStringList keys() const;

private:
      dtkObjectManager();
     ~dtkObjectManager();
};
