summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-03-01 18:53:55 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-03-01 18:53:55 -0500
commitdb92e79debf4120fba83d30facdb92eed57a926f (patch)
tree446a40d414be00a1a531bae8e59e3d6d84d621d3 /libs/pbd
parenta72482af099e9930ddc0225020ccab82fbbf7a4d (diff)
fix use of export macros to work with mingw(64). Template issues with msvc will require a different solution (if they exist)
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/pbd/property_basics.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/libs/pbd/pbd/property_basics.h b/libs/pbd/pbd/property_basics.h
index d0eb1db922..a6af84e2e7 100644
--- a/libs/pbd/pbd/property_basics.h
+++ b/libs/pbd/pbd/property_basics.h
@@ -38,7 +38,7 @@ class LIBPBD_API StatefulDiffCommand;
typedef GQuark PropertyID;
template<typename T>
-struct /*LIBPBD_API*/ PropertyDescriptor {
+struct LIBPBD_API PropertyDescriptor {
PropertyDescriptor () : property_id (0) {}
PropertyDescriptor (PropertyID pid) : property_id (pid) {}
@@ -47,17 +47,17 @@ struct /*LIBPBD_API*/ PropertyDescriptor {
};
/** A list of IDs of Properties that have changed in some situation or other */
-class /*LIBPBD_API*/ PropertyChange : public std::set<PropertyID>
+class LIBPBD_API PropertyChange : public std::set<PropertyID>
{
public:
- LIBPBD_API PropertyChange() {}
- LIBPBD_API ~PropertyChange() {}
+ PropertyChange() {}
+ ~PropertyChange() {}
template<typename T> PropertyChange(PropertyDescriptor<T> p);
- LIBPBD_API PropertyChange(const PropertyChange& other) : std::set<PropertyID> (other) {}
+ PropertyChange(const PropertyChange& other) : std::set<PropertyID> (other) {}
- LIBPBD_API PropertyChange operator=(const PropertyChange& other) {
+ PropertyChange operator=(const PropertyChange& other) {
clear ();
insert (other.begin (), other.end ());
return *this;
@@ -66,7 +66,7 @@ public:
template<typename T> PropertyChange operator=(PropertyDescriptor<T> p);
template<typename T> bool contains (PropertyDescriptor<T> p) const;
- LIBPBD_API bool contains (const PropertyChange& other) const {
+ bool contains (const PropertyChange& other) const {
for (const_iterator x = other.begin (); x != other.end (); ++x) {
if (find (*x) != end ()) {
return true;
@@ -75,8 +75,8 @@ public:
return false;
}
- LIBPBD_API void add (PropertyID id) { insert (id); }
- LIBPBD_API void add (const PropertyChange& other) { insert (other.begin (), other.end ()); }
+ void add (PropertyID id) { insert (id); }
+ void add (const PropertyChange& other) { insert (other.begin (), other.end ()); }
template<typename T> void add (PropertyDescriptor<T> p);
};