Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dtk
dtk
Commits
02a0d593
Commit
02a0d593
authored
Aug 26, 2014
by
Julien Wintz
Browse files
More export rules.
parent
c4895dbf
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/dtkMath/dtkMath.h
View file @
02a0d593
...
...
@@ -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
);
}
}
...
...
src/dtkMath/dtkMatrix.h
View file @
02a0d593
/
* 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment