Moved include files, changed include directives
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "Audio.h"
|
||||
#include "Telegram/Audio.h"
|
||||
|
||||
Telegram::Audio::Audio(Json::Value json) {
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "Chat.h"
|
||||
#include "Telegram/Chat.h"
|
||||
|
||||
Telegram::Chat::Chat(Json::Value json) {
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "Contact.h"
|
||||
#include "Telegram/Contact.h"
|
||||
|
||||
Telegram::Contact::Contact(Json::Value json) {
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "Document.h"
|
||||
#include "Telegram/Document.h"
|
||||
|
||||
Telegram::Document::Document(Json::Value json) {
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "Location.h"
|
||||
#include "Telegram/Location.h"
|
||||
|
||||
Telegram::Location::Location(Json::Value json) {
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "Message.h"
|
||||
#include "Telegram/Message.h"
|
||||
|
||||
// Generic constructor
|
||||
// @TODO: Make this an "init"-Method and call it from the constructor
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "MessageEntity.h"
|
||||
#include "Telegram/MessageEntity.h"
|
||||
|
||||
Telegram::MessageEntity::MessageEntity(Json::Value json) {
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "PhotoSize.h"
|
||||
#include "Telegram/PhotoSize.h"
|
||||
|
||||
Telegram::PhotoSize::PhotoSize(Json::Value json) {
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "Sticker.h"
|
||||
#include "Telegram/Sticker.h"
|
||||
|
||||
Telegram::Sticker::Sticker(Json::Value json) {
|
||||
|
||||
|
||||
+6
-6
@@ -1,4 +1,4 @@
|
||||
#include "TelegramBot.h"
|
||||
#include "Telegram/TelegramBot.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
#include <curlpp/Infos.hpp>
|
||||
#include <curlpp/Options.hpp>
|
||||
|
||||
#include "http_build_query.h"
|
||||
#include "json_encode.h"
|
||||
#include "std.h"
|
||||
#include "Telegram/http_build_query.h"
|
||||
#include "Telegram/json_encode.h"
|
||||
#include "Telegram/std.h"
|
||||
|
||||
#include "Message.h"
|
||||
#include "MessageEntity.h"
|
||||
#include "Telegram/Message.h"
|
||||
#include "Telegram/MessageEntity.h"
|
||||
|
||||
#define API_URL "https://api.telegram.org/bot"
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "User.h"
|
||||
#include "Telegram/User.h"
|
||||
|
||||
Telegram::User::User(Json::Value json) {
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "Venue.h"
|
||||
#include "Telegram/Venue.h"
|
||||
|
||||
Telegram::Venue::Venue(Json::Value json) {
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "Video.h"
|
||||
#include "Telegram/Video.h"
|
||||
|
||||
Telegram::Video::Video(Json::Value json) {
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "Voice.h"
|
||||
#include "Telegram/Voice.h"
|
||||
|
||||
Telegram::Voice::Voice(Json::Value json) {
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "exec.h"
|
||||
#include "Telegram/exec.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "explode.h"
|
||||
#include "Telegram/explode.h"
|
||||
|
||||
std::vector<std::string> explode( const std::string &delimiter, const std::string &str) {
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "http_build_query.h"
|
||||
#include "Telegram/http_build_query.h"
|
||||
|
||||
std::string http_build_query(std::map<std::string, std::string> data) {
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "json_encode.h"
|
||||
#include "Telegram/json_encode.h"
|
||||
|
||||
std::string json_encode(std::map<std::string, std::string> parameters) {
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "std.h"
|
||||
#include "Telegram/std.h"
|
||||
|
||||
#include <pwd.h>
|
||||
#include <time.h>
|
||||
|
||||
Reference in New Issue
Block a user