Skip to content

Commit

Permalink
Merge pull request #92 from Qrome/2.9
Browse files Browse the repository at this point in the history
2.9
  • Loading branch information
Qrome authored Mar 7, 2019
2 parents 1254903 + 45b10d3 commit 5fa87de
Show file tree
Hide file tree
Showing 6 changed files with 342 additions and 349 deletions.
Binary file not shown.
Binary file not shown.
7 changes: 0 additions & 7 deletions marquee/NewsApiClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,6 @@ String NewsApiClient::getUrl(int index) {
return news[index].url;
}

String NewsApiClient::getUrlToImage(int index) {
return news[index].urlToImage;
}

void NewsApiClient::updateNewsSource(String source) {
mySource = source;
}
Expand Down Expand Up @@ -129,9 +125,6 @@ void NewsApiClient::value(String value) {
}
if (currentKey == "url") {
news[counterTitle].url = value;
}
if (currentKey == "urlToImage") {
news[counterTitle].urlToImage = value;
counterTitle++;
}

Expand Down
2 changes: 0 additions & 2 deletions marquee/NewsApiClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ class NewsApiClient: public JsonListener {
String title;
String description;
String url;
String urlToImage;
} newsfeed;

newsfeed news[10];
Expand All @@ -56,7 +55,6 @@ class NewsApiClient: public JsonListener {
String getTitle(int index);
String getDescription(int index);
String getUrl(int index);
String getUrlToImage(int index);
String cleanText(String text);

virtual void whitespace(char c);
Expand Down
Loading

0 comments on commit 5fa87de

Please sign in to comment.