Skip to content

Commit

Permalink
[Android] GetResourceUris API (#1759)
Browse files Browse the repository at this point in the history
* Add remote resource information header to swig file

* Add RemoteResourceInformationVector swig generation

* Unmaking the DateTimePreparsedToken deletion
  • Loading branch information
almedina-ms committed Aug 3, 2018
1 parent b5e3eee commit e728d26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/android/adaptivecards/src/AdaptiveCardObjectModel.i
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ struct tm {
#include <memory>
#include <time.h>
#include "../../../shared/cpp/ObjectModel/Enums.h"
#include "../../../shared/cpp/ObjectModel/RemoteResourceInformation.h"
#include "../../../shared/cpp/ObjectModel/BaseCardElement.h"
#include "../../../shared/cpp/ObjectModel/BaseActionElement.h"
#include "../../../shared/cpp/ObjectModel/BaseInputElement.h"
Expand Down Expand Up @@ -123,6 +124,7 @@ struct tm {
%shared_ptr(AdaptiveCards::SubmitAction)
%shared_ptr(AdaptiveCards::AdaptiveCardParseWarning)
%shared_ptr(AdaptiveCards::ParseResult)
%shared_ptr(AdaptiveCards::RemoteResourceInformation)
%shared_ptr(AdaptiveCards::AdaptiveCard)
%shared_ptr(AdaptiveCards::ContainerParser)
%shared_ptr(AdaptiveCards::TextBlockParser)
Expand Down Expand Up @@ -287,6 +289,7 @@ namespace Json {
}
%}

%template(RemoteResourceInformationVector) std::vector<AdaptiveCards::RemoteResourceInformation>;
%template(AdaptiveCardParseWarningVector) std::vector<std::shared_ptr<AdaptiveCards::AdaptiveCardParseWarning> >;
%template(BaseCardElementVector) std::vector<std::shared_ptr<AdaptiveCards::BaseCardElement> >;
%template(ImageVector) std::vector<std::shared_ptr<AdaptiveCards::Image> >;
Expand Down Expand Up @@ -572,6 +575,7 @@ namespace Json {

%include "../../../shared/cpp/ObjectModel/pch.h"
%include "../../../shared/cpp/ObjectModel/Enums.h"
%include "../../../shared/cpp/ObjectModel/RemoteResourceInformation.h"
%include "../../../shared/cpp/ObjectModel/BaseCardElement.h"
%include "../../../shared/cpp/ObjectModel/BaseActionElement.h"
%include "../../../shared/cpp/ObjectModel/BaseInputElement.h"
Expand Down

0 comments on commit e728d26

Please sign in to comment.