Removed declarations of functions which are used only internally in JsonObjects.cpp.

This commit is contained in:
Kirill Kirilenko 2016-11-09 20:25:06 +03:00
parent ff8f9a2e74
commit 5c1f3a3dd0

View file

@ -14,34 +14,6 @@ namespace telebotxx
const bool REQUIRED = true; const bool REQUIRED = true;
const bool OPTIONAL = false; const bool OPTIONAL = false;
/// \brief Parse JSON object to PhotoSize
/// \param parent reference to parent JSON object
/// \param name field with PhotoSize object
/// \param required REQUIRED or OPTIONAL
/// \return pointer to PhotoSize
std::unique_ptr<PhotoSize> parsePhotoSize(const rapidjson::Value& parent, const char* name, bool required);
/// \brief Parse JSON object to Audio
/// \param parent reference to parent JSON object
/// \param name field with Audio object
/// \param required REQUIRED or OPTIONAL
/// \return pointer to Audio
std::unique_ptr<Audio> parseAudio(const rapidjson::Value& parent, const char* name, bool required);
/// \brief Parse JSON object to Document
/// \param parent reference to parent JSON object
/// \param name field with Document object
/// \param required REQUIRED or OPTIONAL
/// \return pointer to Document
std::unique_ptr<Document> parseDocument(const rapidjson::Value& parent, const char* name, bool required);
/// \brief Parse JSON object to Sticker
/// \param parent reference to parent JSON object
/// \param name field with Sticker object
/// \param required REQUIRED or OPTIONAL
/// \return pointer to Sticker
std::unique_ptr<Document> parseDocument(const rapidjson::Value& parent, const char* name, bool required);
/// \brief Parse JSON object to Chat /// \brief Parse JSON object to Chat
/// \param parent reference to parent JSON object /// \param parent reference to parent JSON object
/// \param name field with Chat object /// \param name field with Chat object