Commit 1831e58d authored by Peter Eastman's avatar Peter Eastman
Browse files

Added missing Windows exports

parent 7164109e
...@@ -689,14 +689,14 @@ struct CudaContext::MoleculeGroup { ...@@ -689,14 +689,14 @@ struct CudaContext::MoleculeGroup {
/** /**
* This abstract class defines a task to be executed on the worker thread. * This abstract class defines a task to be executed on the worker thread.
*/ */
class CudaContext::WorkTask { class OPENMM_EXPORT_CUDA CudaContext::WorkTask {
public: public:
virtual void execute() = 0; virtual void execute() = 0;
virtual ~WorkTask() { virtual ~WorkTask() {
} }
}; };
class CudaContext::WorkThread { class OPENMM_EXPORT_CUDA CudaContext::WorkThread {
public: public:
struct ThreadData; struct ThreadData;
WorkThread(); WorkThread();
...@@ -731,7 +731,7 @@ private: ...@@ -731,7 +731,7 @@ private:
* Objects that need to know when reordering happens should create a ReorderListener * Objects that need to know when reordering happens should create a ReorderListener
* and register it by calling addReorderListener(). * and register it by calling addReorderListener().
*/ */
class CudaContext::ReorderListener { class OPENMM_EXPORT_CUDA CudaContext::ReorderListener {
public: public:
virtual void execute() = 0; virtual void execute() = 0;
virtual ~ReorderListener() { virtual ~ReorderListener() {
...@@ -744,7 +744,7 @@ public: ...@@ -744,7 +744,7 @@ public:
* that need to be performed at a nonstandard point in the process. After creating a * that need to be performed at a nonstandard point in the process. After creating a
* ForcePreComputation, register it by calling addForcePreComputation(). * ForcePreComputation, register it by calling addForcePreComputation().
*/ */
class CudaContext::ForcePreComputation { class OPENMM_EXPORT_CUDA CudaContext::ForcePreComputation {
public: public:
virtual ~ForcePreComputation() { virtual ~ForcePreComputation() {
} }
...@@ -762,7 +762,7 @@ public: ...@@ -762,7 +762,7 @@ public:
* that need to be performed at a nonstandard point in the process. After creating a * that need to be performed at a nonstandard point in the process. After creating a
* ForcePostComputation, register it by calling addForcePostComputation(). * ForcePostComputation, register it by calling addForcePostComputation().
*/ */
class CudaContext::ForcePostComputation { class OPENMM_EXPORT_CUDA CudaContext::ForcePostComputation {
public: public:
virtual ~ForcePostComputation() { virtual ~ForcePostComputation() {
} }
......
...@@ -803,14 +803,14 @@ struct OpenCLContext::MoleculeGroup { ...@@ -803,14 +803,14 @@ struct OpenCLContext::MoleculeGroup {
/** /**
* This abstract class defines a task to be executed on the worker thread. * This abstract class defines a task to be executed on the worker thread.
*/ */
class OpenCLContext::WorkTask { class OPENMM_EXPORT_OPENCL OpenCLContext::WorkTask {
public: public:
virtual void execute() = 0; virtual void execute() = 0;
virtual ~WorkTask() { virtual ~WorkTask() {
} }
}; };
class OpenCLContext::WorkThread { class OPENMM_EXPORT_OPENCL OpenCLContext::WorkThread {
public: public:
struct ThreadData; struct ThreadData;
WorkThread(); WorkThread();
...@@ -845,7 +845,7 @@ private: ...@@ -845,7 +845,7 @@ private:
* Objects that need to know when reordering happens should create a ReorderListener * Objects that need to know when reordering happens should create a ReorderListener
* and register it by calling addReorderListener(). * and register it by calling addReorderListener().
*/ */
class OpenCLContext::ReorderListener { class OPENMM_EXPORT_OPENCL OpenCLContext::ReorderListener {
public: public:
virtual void execute() = 0; virtual void execute() = 0;
virtual ~ReorderListener() { virtual ~ReorderListener() {
...@@ -858,7 +858,7 @@ public: ...@@ -858,7 +858,7 @@ public:
* that need to be performed at a nonstandard point in the process. After creating a * that need to be performed at a nonstandard point in the process. After creating a
* ForcePreComputation, register it by calling addForcePreComputation(). * ForcePreComputation, register it by calling addForcePreComputation().
*/ */
class OpenCLContext::ForcePreComputation { class OPENMM_EXPORT_OPENCL OpenCLContext::ForcePreComputation {
public: public:
virtual ~ForcePreComputation() { virtual ~ForcePreComputation() {
} }
...@@ -876,7 +876,7 @@ public: ...@@ -876,7 +876,7 @@ public:
* that need to be performed at a nonstandard point in the process. After creating a * that need to be performed at a nonstandard point in the process. After creating a
* ForcePostComputation, register it by calling addForcePostComputation(). * ForcePostComputation, register it by calling addForcePostComputation().
*/ */
class OpenCLContext::ForcePostComputation { class OPENMM_EXPORT_OPENCL OpenCLContext::ForcePostComputation {
public: public:
virtual ~ForcePostComputation() { virtual ~ForcePostComputation() {
} }
......
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