OSDN Git Service

RemoteLinux: Export generic device configuration factory.
authorChristian Kandeler <christian.kandeler@nokia.com>
Tue, 2 Aug 2011 14:38:52 +0000 (16:38 +0200)
committerChristian Kandeler <christian.kandeler@nokia.com>
Tue, 2 Aug 2011 14:41:48 +0000 (16:41 +0200)
Some of its actions might want to be used unchanged by derived
factories.

Change-Id: I9e2a8f3b799c466bea41d5b0411e1e819dd84c82
Reviewed-on: http://codereview.qt.nokia.com/2521
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
src/plugins/remotelinux/genericlinuxdeviceconfigurationfactory.cpp
src/plugins/remotelinux/genericlinuxdeviceconfigurationfactory.h

index 4863e81..aa576ac 100644 (file)
@@ -41,7 +41,6 @@
 #include <utils/qtcassert.h>
 
 namespace RemoteLinux {
-namespace Internal {
 
 GenericLinuxDeviceConfigurationFactory::GenericLinuxDeviceConfigurationFactory(QObject *parent)
     : ILinuxDeviceConfigurationFactory(parent)
@@ -105,5 +104,4 @@ QDialog *GenericLinuxDeviceConfigurationFactory::createDeviceAction(const QStrin
     return 0; // Can't happen.
 }
 
-} // namespace Internal
 } // namespace RemoteLinux
index 05e4557..be47676 100644 (file)
 #define GENERICLINUXDEVICECONFIGURATIONFACTORY_H
 
 #include "linuxdeviceconfiguration.h"
+#include "remotelinux_export.h"
 
 namespace RemoteLinux {
-namespace Internal {
 
-class GenericLinuxDeviceConfigurationFactory : public ILinuxDeviceConfigurationFactory
+class REMOTELINUX_EXPORT GenericLinuxDeviceConfigurationFactory
+    : public ILinuxDeviceConfigurationFactory
 {
     Q_OBJECT
 
@@ -54,7 +55,6 @@ public:
         const LinuxDeviceConfiguration::ConstPtr &deviceConfig, QWidget *parent) const;
 };
 
-} // namespace Internal
 } // namespace RemoteLinux
 
 #endif // GENERICLINUXDEVICECONFIGURATIONFACTORY_H