summaryrefslogtreecommitdiffstats
path: root/dbus/property.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-05 01:56:14 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-05 01:56:14 +0000
commite3024465ac38cafd6ef30c4e08c107acef249b94 (patch)
tree315c4c3c86753ef6fc8215e220a3c192f21e2d8c /dbus/property.h
parentaaf2a32109d62ae6f96cc83263370a824ee85a6d (diff)
downloadchromium_src-e3024465ac38cafd6ef30c4e08c107acef249b94.zip
chromium_src-e3024465ac38cafd6ef30c4e08c107acef249b94.tar.gz
chromium_src-e3024465ac38cafd6ef30c4e08c107acef249b94.tar.bz2
dbus: Make it possible to build as shared_library.
BUG=158887 R=satorux@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11364033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165893 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dbus/property.h')
-rw-r--r--dbus/property.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/dbus/property.h b/dbus/property.h
index 87c9806..f2feb05 100644
--- a/dbus/property.h
+++ b/dbus/property.h
@@ -11,6 +11,7 @@
#include "base/basictypes.h"
#include "base/bind.h"
#include "base/callback.h"
+#include "dbus/dbus_export.h"
#include "dbus/message.h"
#include "dbus/object_proxy.h"
@@ -194,7 +195,7 @@ class PropertyBase {
//
// After creation, client code should call ConnectSignals() and most likely
// GetAll() to seed initial values and update as changes occur.
-class PropertySet {
+class CHROME_DBUS_EXPORT PropertySet {
public:
// Callback for changes to cached values of properties, either notified
// via signal, or as a result of calls to Get() and GetAll(). The |name|
@@ -349,7 +350,7 @@ class PropertySet {
// default value. Specializations for basic D-Bus types, strings, object
// paths and arrays are provided for you.
template <class T>
-class Property : public PropertyBase {
+class CHROME_DBUS_EXPORT Property : public PropertyBase {
public:
Property() {}