Skip to content

Commit

Permalink
export script-binding classes
Browse files Browse the repository at this point in the history
  • Loading branch information
syntheticpp committed Apr 2, 2014
1 parent 47e39b4 commit 77bac2d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/libkst/matrixscriptinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

namespace Kst {

class MatrixDataSI : public ScriptInterface
class KSTCORE_EXPORT MatrixDataSI : public ScriptInterface
{
Q_OBJECT
DataMatrixPtr matrix;
Expand Down
6 changes: 3 additions & 3 deletions src/libkst/scalarscriptinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace Kst {

class ScalarGenSI : public ScriptInterface
class KSTCORE_EXPORT ScalarGenSI : public ScriptInterface
{
Q_OBJECT
ScalarPtr scalar;
Expand All @@ -36,7 +36,7 @@ class ScalarGenSI : public ScriptInterface
};


class ScalarDataSI : public ScriptInterface
class KSTCORE_EXPORT ScalarDataSI : public ScriptInterface
{
Q_OBJECT
DataScalarPtr scalar;
Expand All @@ -51,7 +51,7 @@ class ScalarDataSI : public ScriptInterface
};


class ScalarVectorSI : public ScriptInterface
class KSTCORE_EXPORT ScalarVectorSI : public ScriptInterface
{
Q_OBJECT
VScalarPtr scalar;
Expand Down
5 changes: 4 additions & 1 deletion src/libkst/scriptinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
#include <QString>
#include <QList>
#include <QObject>

#include "kst_export.h"

typedef QList<QByteArray> QByteArrayList;

namespace Kst {
Expand All @@ -30,7 +33,7 @@ class NamedObject;
/** A script interface represents an object exposed through the scripting interface.
* (ex., dialog, primitive, etc.)
*/
class ScriptInterface : public QObject
class KSTCORE_EXPORT ScriptInterface : public QObject
{
Q_OBJECT
public:
Expand Down
4 changes: 2 additions & 2 deletions src/libkst/stringscriptinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

namespace Kst {

class StringGenSI : public ScriptInterface
class KSTCORE_EXPORT StringGenSI : public ScriptInterface
{
Q_OBJECT
StringPtr str;
Expand All @@ -34,7 +34,7 @@ class StringGenSI : public ScriptInterface

};

class StringDataSI : public ScriptInterface
class KSTCORE_EXPORT StringDataSI : public ScriptInterface
{
Q_OBJECT
DataStringPtr str;
Expand Down
4 changes: 2 additions & 2 deletions src/libkst/vectorscriptinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace Kst {

class VectorDataSI : public ScriptInterface
class KSTCORE_EXPORT VectorDataSI : public ScriptInterface
{
Q_OBJECT
DataVectorPtr vector;
Expand All @@ -34,7 +34,7 @@ class VectorDataSI : public ScriptInterface
static ScriptInterface* newVector(ObjectStore *store);
};

class VectorGenSI : public ScriptInterface
class KSTCORE_EXPORT VectorGenSI : public ScriptInterface
{
Q_OBJECT
GeneratedVectorPtr vector;
Expand Down

0 comments on commit 77bac2d

Please sign in to comment.