Removed unneccessary using-statements, fixed documentation
This commit is contained in:
parent
6a8fb144ad
commit
4a1b454ba1
|
@ -32,7 +32,6 @@
|
|||
#endif
|
||||
|
||||
using std::string;
|
||||
using std::uint16_t;
|
||||
using std::uint64_t;
|
||||
|
||||
namespace Mastodon
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#endif
|
||||
|
||||
using std::string;
|
||||
using std::uint16_t;
|
||||
using std::uint64_t;
|
||||
|
||||
namespace Mastodon
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -180,6 +180,7 @@ public:
|
|||
class Context;
|
||||
class Emoji;
|
||||
class Instance;
|
||||
class List;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Reference in New Issue
Block a user