Commit c8526dfc authored by Peter Eastman's avatar Peter Eastman
Browse files

Checked in a file that got missed in the last checkin

parent e861abbc
...@@ -59,6 +59,12 @@ class OPENMM_EXPORT Kernel { ...@@ -59,6 +59,12 @@ class OPENMM_EXPORT Kernel {
public: public:
Kernel(); Kernel();
Kernel(const Kernel& copy); Kernel(const Kernel& copy);
/**
* Create a Kernel that wraps a KernelImpl.
*
* @param name the name of the kernel to create
*/
Kernel(KernelImpl* impl);
~Kernel(); ~Kernel();
Kernel& operator=(const Kernel& copy); Kernel& operator=(const Kernel& copy);
/** /**
...@@ -74,13 +80,6 @@ public: ...@@ -74,13 +80,6 @@ public:
*/ */
KernelImpl& getImpl(); KernelImpl& getImpl();
private: private:
friend class Platform;
/**
* Create a KernelImpl.
*
* @param name the name of the kernel to create
*/
Kernel(KernelImpl* impl);
KernelImpl* impl; KernelImpl* impl;
}; };
......
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