Removed unneccessary using-statements, fixed documentation

This commit is contained in:
tastytea 2018-03-30 20:31:30 +02:00
parent 6a8fb144ad
commit 4a1b454ba1
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
8 changed files with 6 additions and 6 deletions

View File

@ -32,7 +32,6 @@
#endif
using std::string;
using std::uint16_t;
using std::uint64_t;
namespace Mastodon

View File

@ -25,6 +25,7 @@
//#include "easy/context.hpp"
#include "easy/emoji.hpp"
#include "easy/instance.hpp"
#include "easy/list.hpp"
#else
#include <mastodon-cpp/easy.hpp>
#include <mastodon-cpp/easy/account.hpp>
@ -33,6 +34,7 @@
#include <mastodon-cpp/easy/card.hpp>
//#include <mastodon-cpp/easy/context.hpp>
#include <mastodon-cpp/easy/emoji.hpp>
#include "easy/list.hpp"
#endif
#endif // MASTODON_CPP_EASY_ALL_HPP

View File

@ -30,7 +30,6 @@
#endif
using std::string;
using std::uint16_t;
using std::uint64_t;
namespace Mastodon

View File

@ -34,7 +34,7 @@ using std::string;
namespace Mastodon
{
/*!
* @brief Class to hold cards
* @brief Class to hold contexts
*/
class Easy::Context : public Easy::Entity
{

View File

@ -180,6 +180,7 @@ public:
class Context;
class Emoji;
class Instance;
class List;
};
}

View File

@ -33,7 +33,7 @@ using std::string;
namespace Mastodon
{
/*!
* @brief Class to hold cards
* @brief Class to hold emojis
*/
class Easy::Emoji : public Easy::Entity
{

View File

@ -25,7 +25,6 @@
using namespace Mastodon;
using Instance = Easy::Instance;
using std::string;
using std::uint64_t;
Instance::Instance(const string &json)
: Entity(json)

View File

@ -36,7 +36,7 @@ using std::string;
namespace Mastodon
{
/*!
* @brief Class to hold cards
* @brief Class to hold instances
*/
class Easy::Instance : public Easy::Entity
{