forked from qt-creator/qt-creator
Android: Cosmetics for AndroidDevice interface
Change-Id: I291f51a3baeb3768428485c63914627c0d91037b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -28,13 +28,16 @@
|
||||
#include <projectexplorer/devicesupport/idevice.h>
|
||||
|
||||
namespace Android {
|
||||
class AndroidConfigurations; // needed for friend declaration
|
||||
|
||||
namespace Internal {
|
||||
|
||||
class AndroidDevice : public ProjectExplorer::IDevice
|
||||
{
|
||||
public:
|
||||
static IDevice::Ptr create() { return IDevice::Ptr(new AndroidDevice); };
|
||||
|
||||
private:
|
||||
AndroidDevice();
|
||||
|
||||
ProjectExplorer::IDevice::DeviceInfo deviceInformation() const override;
|
||||
|
||||
QString displayType() const override;
|
||||
@@ -45,12 +48,6 @@ public:
|
||||
|
||||
ProjectExplorer::IDevice::Ptr clone() const override;
|
||||
QUrl toolControlChannel(const ControlChannelHint &) const override;
|
||||
|
||||
protected:
|
||||
friend class AndroidDeviceFactory;
|
||||
friend class Android::AndroidConfigurations;
|
||||
AndroidDevice();
|
||||
AndroidDevice(const AndroidDevice &other);
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user