Fix formatting
This commit is contained in:
@@ -43,8 +43,7 @@ class _MessageHandlerBase : public QObject {
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// device can be NULL, in which case you must call SetDevice before writing
|
// device can be nullptr, in which case you must call SetDevice before writing any messages.
|
||||||
// any messages.
|
|
||||||
_MessageHandlerBase(QIODevice *device, QObject *parent);
|
_MessageHandlerBase(QIODevice *device, QObject *parent);
|
||||||
|
|
||||||
void SetDevice(QIODevice *device);
|
void SetDevice(QIODevice *device);
|
||||||
@@ -176,4 +175,3 @@ void AbstractMessageHandler<MT>::AbortAll() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif // MESSAGEHANDLER_H
|
#endif // MESSAGEHANDLER_H
|
||||||
|
|
||||||
|
|||||||
@@ -53,8 +53,7 @@ protected:
|
|||||||
QSemaphore semaphore_;
|
QSemaphore semaphore_;
|
||||||
};
|
};
|
||||||
|
|
||||||
// A reply future class that is returned immediately for requests that will
|
// A reply future class that is returned immediately for requests that will occur in the background. Similar to QNetworkReply.
|
||||||
// occur in the background. Similar to QNetworkReply.
|
|
||||||
template <typename MessageType>
|
template <typename MessageType>
|
||||||
class MessageReply : public _MessageReplyBase {
|
class MessageReply : public _MessageReplyBase {
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user