Removed unneccessary using-statements, fixed documentation
This commit is contained in:
parent
6a8fb144ad
commit
4a1b454ba1
|
@ -32,7 +32,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using std::string;
|
using std::string;
|
||||||
using std::uint16_t;
|
|
||||||
using std::uint64_t;
|
using std::uint64_t;
|
||||||
|
|
||||||
namespace Mastodon
|
namespace Mastodon
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
//#include "easy/context.hpp"
|
//#include "easy/context.hpp"
|
||||||
#include "easy/emoji.hpp"
|
#include "easy/emoji.hpp"
|
||||||
#include "easy/instance.hpp"
|
#include "easy/instance.hpp"
|
||||||
|
#include "easy/list.hpp"
|
||||||
#else
|
#else
|
||||||
#include <mastodon-cpp/easy.hpp>
|
#include <mastodon-cpp/easy.hpp>
|
||||||
#include <mastodon-cpp/easy/account.hpp>
|
#include <mastodon-cpp/easy/account.hpp>
|
||||||
|
@ -33,6 +34,7 @@
|
||||||
#include <mastodon-cpp/easy/card.hpp>
|
#include <mastodon-cpp/easy/card.hpp>
|
||||||
//#include <mastodon-cpp/easy/context.hpp>
|
//#include <mastodon-cpp/easy/context.hpp>
|
||||||
#include <mastodon-cpp/easy/emoji.hpp>
|
#include <mastodon-cpp/easy/emoji.hpp>
|
||||||
|
#include "easy/list.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // MASTODON_CPP_EASY_ALL_HPP
|
#endif // MASTODON_CPP_EASY_ALL_HPP
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using std::string;
|
using std::string;
|
||||||
using std::uint16_t;
|
|
||||||
using std::uint64_t;
|
using std::uint64_t;
|
||||||
|
|
||||||
namespace Mastodon
|
namespace Mastodon
|
||||||
|
|
|
@ -34,7 +34,7 @@ using std::string;
|
||||||
namespace Mastodon
|
namespace Mastodon
|
||||||
{
|
{
|
||||||
/*!
|
/*!
|
||||||
* @brief Class to hold cards
|
* @brief Class to hold contexts
|
||||||
*/
|
*/
|
||||||
class Easy::Context : public Easy::Entity
|
class Easy::Context : public Easy::Entity
|
||||||
{
|
{
|
||||||
|
|
|
@ -180,6 +180,7 @@ public:
|
||||||
class Context;
|
class Context;
|
||||||
class Emoji;
|
class Emoji;
|
||||||
class Instance;
|
class Instance;
|
||||||
|
class List;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ using std::string;
|
||||||
namespace Mastodon
|
namespace Mastodon
|
||||||
{
|
{
|
||||||
/*!
|
/*!
|
||||||
* @brief Class to hold cards
|
* @brief Class to hold emojis
|
||||||
*/
|
*/
|
||||||
class Easy::Emoji : public Easy::Entity
|
class Easy::Emoji : public Easy::Entity
|
||||||
{
|
{
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
using namespace Mastodon;
|
using namespace Mastodon;
|
||||||
using Instance = Easy::Instance;
|
using Instance = Easy::Instance;
|
||||||
using std::string;
|
using std::string;
|
||||||
using std::uint64_t;
|
|
||||||
|
|
||||||
Instance::Instance(const string &json)
|
Instance::Instance(const string &json)
|
||||||
: Entity(json)
|
: Entity(json)
|
||||||
|
|
|
@ -36,7 +36,7 @@ using std::string;
|
||||||
namespace Mastodon
|
namespace Mastodon
|
||||||
{
|
{
|
||||||
/*!
|
/*!
|
||||||
* @brief Class to hold cards
|
* @brief Class to hold instances
|
||||||
*/
|
*/
|
||||||
class Easy::Instance : public Easy::Entity
|
class Easy::Instance : public Easy::Entity
|
||||||
{
|
{
|
||||||
|
|
Reference in New Issue
Block a user