refactor/reformat. remove useless common.h

This commit is contained in:
Rasmus Karlsson
2017-06-07 10:09:24 +02:00
parent b66dc479e6
commit 5b2b2e3e19
76 changed files with 148 additions and 264 deletions
+3 -5
View File
@@ -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
+4 -2
View File
@@ -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
+4 -5
View File
@@ -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
+4 -2
View File
@@ -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 -4
View File
@@ -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