use template export forms for MemementoCommand
This commit is contained in:
parent
9526fef902
commit
c1a540f34e
@ -51,7 +51,7 @@
|
|||||||
* can do `just-in-time' binding from the crossfade ID.
|
* can do `just-in-time' binding from the crossfade ID.
|
||||||
*/
|
*/
|
||||||
template <class obj_T>
|
template <class obj_T>
|
||||||
class /*LIBPBD_API*/ MementoCommandBinder : public PBD::Destructible
|
class LIBPBD_TEMPLATE_API MementoCommandBinder : public PBD::Destructible
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/** @return Stateful object to operate on */
|
/** @return Stateful object to operate on */
|
||||||
@ -68,7 +68,7 @@ public:
|
|||||||
|
|
||||||
/** A simple MementoCommandBinder which binds directly to an object */
|
/** A simple MementoCommandBinder which binds directly to an object */
|
||||||
template <class obj_T>
|
template <class obj_T>
|
||||||
class /*LIBPBD_API*/ SimpleMementoCommandBinder : public MementoCommandBinder<obj_T>
|
class LIBPBD_TEMPLATE_API SimpleMementoCommandBinder : public MementoCommandBinder<obj_T>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
SimpleMementoCommandBinder (obj_T& o)
|
SimpleMementoCommandBinder (obj_T& o)
|
||||||
@ -100,7 +100,7 @@ private:
|
|||||||
* memento, and redo is restoring the after memento.
|
* memento, and redo is restoring the after memento.
|
||||||
*/
|
*/
|
||||||
template <class obj_T>
|
template <class obj_T>
|
||||||
class /*LIBPBD_API*/ MementoCommand : public Command
|
class LIBPBD_TEMPLATE_API MementoCommand : public Command
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
MementoCommand (obj_T& a_object, XMLNode* a_before, XMLNode* a_after)
|
MementoCommand (obj_T& a_object, XMLNode* a_before, XMLNode* a_after)
|
||||||
|
Loading…
Reference in New Issue
Block a user