projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
identd: Move response construction to Request
[quassel.git]
/
src
/
core
/
identserver.h
diff --git
a/src/core/identserver.h
b/src/core/identserver.h
index
cff24b7
..
3c0fd2a
100644
(file)
--- a/
src/core/identserver.h
+++ b/
src/core/identserver.h
@@
-33,6
+33,9
@@
struct Request {
qint64 requestId;
friend bool operator==(const Request &a, const Request &b);
qint64 requestId;
friend bool operator==(const Request &a, const Request &b);
+
+ void respondSuccess(const QString &user);
+ void respondError(const QString &error);
};
class IdentServer : public QObject {
};
class IdentServer : public QObject {
@@
-54,7
+57,6
@@
private slots:
private:
bool responseAvailable(Request request);
private:
bool responseAvailable(Request request);
- void responseUnavailable(Request request);
QString sysIdentForIdentity(const CoreIdentity *identity) const;
QString sysIdentForIdentity(const CoreIdentity *identity) const;