refactor/reformat. remove useless common.h
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef TWITCHEMOTEVALUE_H
|
||||
#define TWITCHEMOTEVALUE_H
|
||||
#pragma once
|
||||
|
||||
#include "QString"
|
||||
|
||||
@@ -28,7 +27,6 @@ private:
|
||||
int _id;
|
||||
QString _channelName;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // TWITCHEMOTEVALUE_H
|
||||
} // namespace twitch
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -9,6 +9,7 @@ using namespace chatterino::messages;
|
||||
|
||||
namespace chatterino {
|
||||
namespace twitch {
|
||||
|
||||
TwitchMessageBuilder::TwitchMessageBuilder()
|
||||
: MessageBuilder()
|
||||
, messageId()
|
||||
@@ -345,5 +346,6 @@ SharedMessage TwitchMessageBuilder::parse(const Communi::IrcPrivateMessage *ircM
|
||||
//{
|
||||
// return a.first < b.first;
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace twitch
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef TWITCHMESSAGEBUILDER_H
|
||||
#define TWITCHMESSAGEBUILDER_H
|
||||
#pragma once
|
||||
|
||||
#include "channel.h"
|
||||
#include "messages/messagebuilder.h"
|
||||
@@ -26,6 +25,6 @@ public:
|
||||
// const std::pair<long int, messages::LazyLoadedImage *> &a,
|
||||
// const std::pair<long int, messages::LazyLoadedImage *> &b);
|
||||
};
|
||||
}
|
||||
}
|
||||
#endif // TWITCHMESSAGEBUILDER_H
|
||||
|
||||
} // namespace twitch
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace chatterino {
|
||||
namespace twitch {
|
||||
|
||||
TwitchUser::TwitchUser(const QString &username, const QString &oauthToken,
|
||||
const QString &oauthClient)
|
||||
: IrcUser2(username, username, username, "oauth:" + oauthToken)
|
||||
@@ -24,5 +25,6 @@ bool TwitchUser::isAnon() const
|
||||
{
|
||||
return IrcUser2::getNickName().startsWith("justinfan");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace twitch
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef ACCOUNT_H
|
||||
#define ACCOUNT_H
|
||||
#pragma once
|
||||
|
||||
#include "ircaccount.h"
|
||||
|
||||
@@ -25,5 +24,3 @@ private:
|
||||
|
||||
} // namespace twitch
|
||||
} // namespace chatterino
|
||||
|
||||
#endif // ACCOUNT_H
|
||||
|
||||
Reference in New Issue
Block a user