From 20f9f2c198590c0f47a81ea24c4c3c446cd5d74f Mon Sep 17 00:00:00 2001 From: Andrea Giove Date: Sun, 27 Mar 2016 21:05:45 +0200 Subject: Move InlineQueryResult.cpp in the right dir --- CMakeLists.txt | 2 +- src/types/InlineQueryResult.cpp | 16 ++++++++++++++++ test/InlineQueryResult.cpp | 16 ---------------- 3 files changed, 17 insertions(+), 17 deletions(-) create mode 100644 src/types/InlineQueryResult.cpp delete mode 100644 test/InlineQueryResult.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 167c1c6..c13a633 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ set(SRC_LIST src/net/HttpParser.cpp src/net/TgLongPoll.cpp src/tools/StringTools.cpp - test/InlineQueryResult.cpp) + src/types/InlineQueryResult.cpp) ### libs # threads diff --git a/src/types/InlineQueryResult.cpp b/src/types/InlineQueryResult.cpp new file mode 100644 index 0000000..be1f14a --- /dev/null +++ b/src/types/InlineQueryResult.cpp @@ -0,0 +1,16 @@ +// +// Created by Andrea Giove on 27/03/16. +// +#include "tgbot/types/InlineQueryResultArticle.h" +#include "tgbot/types/InlineQueryResultGif.h" +#include "tgbot/types/InlineQueryResultMpeg4Gif.h" +#include "tgbot/types/InlineQueryResultPhoto.h" +#include "tgbot/types/InlineQueryResultVideo.h" + +using namespace TgBot; + +const std::string InlineQueryResultArticle::TYPE = "article"; +const std::string InlineQueryResultGif::TYPE = "gif"; +const std::string InlineQueryResultMpeg4Gif::TYPE = "mpeg4_gif"; +const std::string InlineQueryResultPhoto::TYPE = "photo"; +const std::string InlineQueryResultVideo::TYPE = "video"; diff --git a/test/InlineQueryResult.cpp b/test/InlineQueryResult.cpp deleted file mode 100644 index be1f14a..0000000 --- a/test/InlineQueryResult.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// -// Created by Andrea Giove on 27/03/16. -// -#include "tgbot/types/InlineQueryResultArticle.h" -#include "tgbot/types/InlineQueryResultGif.h" -#include "tgbot/types/InlineQueryResultMpeg4Gif.h" -#include "tgbot/types/InlineQueryResultPhoto.h" -#include "tgbot/types/InlineQueryResultVideo.h" - -using namespace TgBot; - -const std::string InlineQueryResultArticle::TYPE = "article"; -const std::string InlineQueryResultGif::TYPE = "gif"; -const std::string InlineQueryResultMpeg4Gif::TYPE = "mpeg4_gif"; -const std::string InlineQueryResultPhoto::TYPE = "photo"; -const std::string InlineQueryResultVideo::TYPE = "video"; -- cgit v1.2.3