Commit 02a0d593 authored by Julien Wintz's avatar Julien Wintz
Browse files

More export rules.

parent c4895dbf
......@@ -14,6 +14,8 @@
#pragma once
#include "dtkMathExport.h"
#include <QtCore>
class dtkMatrix;
......@@ -23,8 +25,8 @@ class dtkMatrixPluginManager;
namespace dtkMath
{
namespace matrix {
dtkMatrixPluginFactory& pluginFactory(void);
dtkMatrixPluginManager& pluginManager(void);
DTKMATH_EXPORT dtkMatrixPluginFactory& pluginFactory(void);
DTKMATH_EXPORT dtkMatrixPluginManager& pluginManager(void);
}
}
......
/* dtkMatrix.h ---
*
* Author: Julien Wintz
* Created: Mon Jul 15 15:58:33 2013 (+0200)
* Version:
* Last-Updated: Mon Jul 22 12:17:04 2013 (+0200)
* By: Thibaud Kloczko
* Update #: 341
*/
/* Change Log:
*
*/
// Version: $Id$
//
//
// Commentary:
//
//
// Change Log:
//
//
// Code:
#pragma once
#include <dtkCore>
#include "dtkMatrix_p.h"
#include "dtkMathExport.h"
class dtkMatrix : public QObject
class DTKMATH_EXPORT dtkMatrix : public QObject
{
Q_OBJECT
Q_PROPERTY(qulonglong colCount READ colCount)
......@@ -67,14 +68,17 @@ public:
bool dirty;
};
dtkMatrix& operator+(const dtkMatrix& lhs, const dtkMatrix& rhs);
dtkMatrix& operator-(const dtkMatrix& lhs, const dtkMatrix& rhs);
dtkMatrix& operator*(const dtkMatrix& lhs, const dtkMatrix& rhs);
DTKMATH_EXPORT dtkMatrix& operator+(const dtkMatrix& lhs, const dtkMatrix& rhs);
DTKMATH_EXPORT dtkMatrix& operator-(const dtkMatrix& lhs, const dtkMatrix& rhs);
DTKMATH_EXPORT dtkMatrix& operator*(const dtkMatrix& lhs, const dtkMatrix& rhs);
QDebug operator<<(QDebug debug, const dtkMatrix *matrix);
QDebug operator<<(QDebug debug, const dtkMatrix& matrix);
DTKMATH_EXPORT QDebug operator<<(QDebug debug, const dtkMatrix *matrix);
DTKMATH_EXPORT QDebug operator<<(QDebug debug, const dtkMatrix& matrix);
DTK_DECLARE_OBJECT(dtkMatrix*)
DTK_DECLARE_PLUGIN(dtkMatrix)
DTK_DECLARE_PLUGIN_FACTORY(dtkMatrix)
DTK_DECLARE_PLUGIN_MANAGER(dtkMatrix)
//
// dtkMatrix.h ends here
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment