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