Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
1110b622
Commit
1110b622
authored
Oct 06, 2009
by
Daniel Molkentin
Browse files
Remove obsolete code.
Reviewed-by: con
parent
b2624729
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-s60/serialdevicelister.cpp
View file @
1110b622
...
...
@@ -42,33 +42,15 @@ namespace {
const
char
*
const
USBSER
=
"Services/usbser/Enum"
;
}
//#ifdef Q_OS_WIN
//GUID WceusbshGUID = { 0x25dbce51, 0x6c8f, 0x4a72,
// 0x8a,0x6d,0xb5,0x4c,0x2b,0x4f,0xc8,0x35 };
//#endif
SerialDeviceLister
::
SerialDeviceLister
(
QObject
*
parent
)
:
QObject
(
parent
),
m_initialized
(
false
)
// , m_devNotifyHandle(0)
{
//#ifdef Q_OS_WIN
// // register for events
// DEV_BROADCAST_DEVICEINTERFACE NotificationFilter;
// ZeroMemory( &NotificationFilter, sizeof(NotificationFilter) );
// NotificationFilter.dbcc_size = sizeof(DEV_BROADCAST_DEVICEINTERFACE);
// NotificationFilter.dbcc_devicetype = DBT_DEVTYP_DEVICEINTERFACE;
// NotificationFilter.dbcc_classguid = WceusbshGUID;
// m_devNotifyHandle = RegisterDeviceNotification(QApplication::topLevelWidgets().at(0)->winId(), &NotificationFilter, DEVICE_NOTIFY_WINDOW_HANDLE);
//#endif
}
SerialDeviceLister
::~
SerialDeviceLister
()
{
//#ifdef Q_OS_WIN
// if (m_devNotifyHandle)
// UnregisterDeviceNotification(m_devNotifyHandle);
//#endif
}
QList
<
SerialDeviceLister
::
SerialDevice
>
SerialDeviceLister
::
serialDevices
()
const
...
...
src/plugins/qt4projectmanager/qt-s60/serialdevicelister.h
View file @
1110b622
...
...
@@ -69,11 +69,6 @@ private:
mutable
bool
m_initialized
;
mutable
QList
<
SerialDevice
>
m_devices
;
//#ifdef Q_OS_WIN
//private:
// HDEVNOTIFY m_devNotifyHandle;
//#endif
};
}
// Internal
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment