From 40855d43fa71c215829b53a1034b1b653b4b8557 Mon Sep 17 00:00:00 2001 From: Daniel Cheng Date: Sat, 12 Sep 2015 23:35:35 -0700 Subject: Export various dbus::Property template specializations. BUG=409111 R=stevenjb@chromium.org Review URL: https://codereview.chromium.org/1339763003 . Cr-Commit-Position: refs/heads/master@{#348536} --- dbus/property.h | 230 +++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 143 insertions(+), 87 deletions(-) (limited to 'dbus') diff --git a/dbus/property.h b/dbus/property.h index 5f36d69..5d791b6 100644 --- a/dbus/property.h +++ b/dbus/property.h @@ -426,101 +426,157 @@ class CHROME_DBUS_EXPORT Property : public PropertyBase { T set_value_; }; -template <> Property::Property(); -template <> bool Property::PopValueFromReader(MessageReader* reader); -template <> void Property::AppendSetValueToWriter(MessageWriter* writer); -extern template class Property; - -template <> Property::Property(); -template <> bool Property::PopValueFromReader(MessageReader* reader); -template <> void Property::AppendSetValueToWriter(MessageWriter* writer); -extern template class Property; - -template <> Property::Property(); -template <> bool Property::PopValueFromReader(MessageReader* reader); -template <> void Property::AppendSetValueToWriter(MessageWriter* writer); -extern template class Property; - -template <> Property::Property(); -template <> bool Property::PopValueFromReader(MessageReader* reader); -template <> void Property::AppendSetValueToWriter( - MessageWriter* writer); -extern template class Property; - -template <> Property::Property(); -template <> bool Property::PopValueFromReader(MessageReader* reader); -template <> void Property::AppendSetValueToWriter(MessageWriter* writer); -extern template class Property; - -template <> Property::Property(); -template <> bool Property::PopValueFromReader(MessageReader* reader); -template <> void Property::AppendSetValueToWriter( - MessageWriter* writer); -extern template class Property; - -template <> Property::Property(); -template <> bool Property::PopValueFromReader(MessageReader* reader); -template <> void Property::AppendSetValueToWriter(MessageWriter* writer); -extern template class Property; - -template <> Property::Property(); -template <> bool Property::PopValueFromReader(MessageReader* reader); -template <> void Property::AppendSetValueToWriter( - MessageWriter* writer); -extern template class Property; - -template <> Property::Property(); -template <> bool Property::PopValueFromReader(MessageReader* reader); -template <> void Property::AppendSetValueToWriter( - MessageWriter* writer); -extern template class Property; - -template <> bool Property::PopValueFromReader( - MessageReader* reader); -template <> void Property::AppendSetValueToWriter( - MessageWriter* writer); -extern template class Property; - -template <> bool Property::PopValueFromReader( - MessageReader* reader); -template <> void Property::AppendSetValueToWriter( - MessageWriter* writer); -extern template class Property; - -template <> bool Property >::PopValueFromReader( - MessageReader* reader); -template <> void Property >::AppendSetValueToWriter( - MessageWriter* writer); -extern template class Property >; - -template <> bool Property >::PopValueFromReader( - MessageReader* reader); -template <> void Property >::AppendSetValueToWriter( - MessageWriter* writer); -extern template class Property >; - -template <> bool Property >::PopValueFromReader( - MessageReader* reader); -template <> void Property >::AppendSetValueToWriter( - MessageWriter* writer); -extern template class Property >; - -template <> -bool Property>::PopValueFromReader( +template <> +CHROME_DBUS_EXPORT Property::Property(); +template <> +CHROME_DBUS_EXPORT bool Property::PopValueFromReader( + MessageReader* reader); +template <> +CHROME_DBUS_EXPORT void Property::AppendSetValueToWriter( + MessageWriter* writer); +extern template class CHROME_DBUS_EXPORT Property; + +template <> +CHROME_DBUS_EXPORT Property::Property(); +template <> +CHROME_DBUS_EXPORT bool Property::PopValueFromReader( + MessageReader* reader); +template <> +CHROME_DBUS_EXPORT void Property::AppendSetValueToWriter( + MessageWriter* writer); +extern template class CHROME_DBUS_EXPORT Property; + +template <> +CHROME_DBUS_EXPORT Property::Property(); +template <> +CHROME_DBUS_EXPORT bool Property::PopValueFromReader( + MessageReader* reader); +template <> +CHROME_DBUS_EXPORT void Property::AppendSetValueToWriter( + MessageWriter* writer); +extern template class CHROME_DBUS_EXPORT Property; + +template <> +CHROME_DBUS_EXPORT Property::Property(); +template <> +CHROME_DBUS_EXPORT bool Property::PopValueFromReader( + MessageReader* reader); +template <> +CHROME_DBUS_EXPORT void Property::AppendSetValueToWriter( + MessageWriter* writer); +extern template class CHROME_DBUS_EXPORT Property; + +template <> +CHROME_DBUS_EXPORT Property::Property(); +template <> +CHROME_DBUS_EXPORT bool Property::PopValueFromReader( + MessageReader* reader); +template <> +CHROME_DBUS_EXPORT void Property::AppendSetValueToWriter( + MessageWriter* writer); +extern template class CHROME_DBUS_EXPORT Property; + +template <> +CHROME_DBUS_EXPORT Property::Property(); +template <> +CHROME_DBUS_EXPORT bool Property::PopValueFromReader( + MessageReader* reader); +template <> +CHROME_DBUS_EXPORT void Property::AppendSetValueToWriter( + MessageWriter* writer); +extern template class CHROME_DBUS_EXPORT Property; + +template <> +CHROME_DBUS_EXPORT Property::Property(); +template <> +CHROME_DBUS_EXPORT bool Property::PopValueFromReader( + MessageReader* reader); +template <> +CHROME_DBUS_EXPORT void Property::AppendSetValueToWriter( + MessageWriter* writer); +extern template class CHROME_DBUS_EXPORT Property; + +template <> +CHROME_DBUS_EXPORT Property::Property(); +template <> +CHROME_DBUS_EXPORT bool Property::PopValueFromReader( + MessageReader* reader); +template <> +CHROME_DBUS_EXPORT void Property::AppendSetValueToWriter( + MessageWriter* writer); +extern template class CHROME_DBUS_EXPORT Property; + +template <> +CHROME_DBUS_EXPORT Property::Property(); +template <> +CHROME_DBUS_EXPORT bool Property::PopValueFromReader( + MessageReader* reader); +template <> +CHROME_DBUS_EXPORT void Property::AppendSetValueToWriter( + MessageWriter* writer); +extern template class CHROME_DBUS_EXPORT Property; + +template <> +CHROME_DBUS_EXPORT bool Property::PopValueFromReader( + MessageReader* reader); +template <> +CHROME_DBUS_EXPORT void Property::AppendSetValueToWriter( + MessageWriter* writer); +extern template class CHROME_DBUS_EXPORT Property; + +template <> +CHROME_DBUS_EXPORT bool Property::PopValueFromReader( + MessageReader* reader); +template <> +CHROME_DBUS_EXPORT void Property::AppendSetValueToWriter( + MessageWriter* writer); +extern template class CHROME_DBUS_EXPORT Property; + +template <> +CHROME_DBUS_EXPORT bool Property>::PopValueFromReader( + MessageReader* reader); +template <> +CHROME_DBUS_EXPORT void Property< + std::vector>::AppendSetValueToWriter(MessageWriter* writer); +extern template class CHROME_DBUS_EXPORT Property>; + +template <> +CHROME_DBUS_EXPORT bool Property>::PopValueFromReader( + MessageReader* reader); +template <> +CHROME_DBUS_EXPORT void Property< + std::vector>::AppendSetValueToWriter(MessageWriter* writer); +extern template class CHROME_DBUS_EXPORT Property>; + +template <> +CHROME_DBUS_EXPORT bool Property>::PopValueFromReader( + MessageReader* reader); +template <> +CHROME_DBUS_EXPORT void Property>::AppendSetValueToWriter( + MessageWriter* writer); +extern template class CHROME_DBUS_EXPORT Property>; + +template <> +CHROME_DBUS_EXPORT bool +Property>::PopValueFromReader( MessageReader* reader); template <> -void Property>::AppendSetValueToWriter( +CHROME_DBUS_EXPORT void +Property>::AppendSetValueToWriter( MessageWriter* writer); -extern template class Property>; +extern template class CHROME_DBUS_EXPORT + Property>; template <> -bool Property, uint16_t>>>:: +CHROME_DBUS_EXPORT bool +Property, uint16_t>>>:: PopValueFromReader(MessageReader* reader); template <> -void Property, uint16_t>>>:: +CHROME_DBUS_EXPORT void +Property, uint16_t>>>:: AppendSetValueToWriter(MessageWriter* writer); -extern template class Property< - std::vector, uint16_t>>>; +extern template class CHROME_DBUS_EXPORT + Property, uint16_t>>>; } // namespace dbus -- cgit v1.1