Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: compiled/subscription/Subscription.h

Issue 29532613: Issue 5604 - Make sure to put EMSCRIPTEN_BINDINGS after the type consistently (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created Aug. 31, 2017, noon
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « compiled/subscription/DownloadableSubscription.h ('k') | compiled/subscription/UserDefinedSubscription.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/subscription/Subscription.h
===================================================================
--- a/compiled/subscription/Subscription.h
+++ b/compiled/subscription/Subscription.h
@@ -72,35 +72,35 @@ public:
USERDEFINED = 2
};
explicit Subscription(Type type, const String& id);
~Subscription();
Type mType;
- BINDINGS_EXPORTED const String& GetID() const
+ const BINDINGS_EXPORTED String& GetID() const
{
return mID;
}
SUBSCRIPTION_STRING_PROPERTY(mTitle, SUBSCRIPTION_TITLE, GetTitle, SetTitle);
SUBSCRIPTION_PROPERTY(bool, mDisabled, SUBSCRIPTION_DISABLED,
GetDisabled, SetDisabled);
SUBSCRIPTION_PROPERTY(bool, mListed, NONE, GetListed, SetListed);
- BINDINGS_EXPORTED Filters::size_type GetFilterCount() const
+ Filters::size_type BINDINGS_EXPORTED GetFilterCount() const
{
return mFilters.size();
}
- BINDINGS_EXPORTED Filter* FilterAt(Filters::size_type index);
- BINDINGS_EXPORTED int IndexOfFilter(Filter* filter);
- BINDINGS_EXPORTED OwnedString Serialize() const;
- BINDINGS_EXPORTED OwnedString SerializeFilters() const;
+ Filter* BINDINGS_EXPORTED FilterAt(Filters::size_type index);
+ int BINDINGS_EXPORTED IndexOfFilter(Filter* filter);
+ OwnedString BINDINGS_EXPORTED Serialize() const;
+ OwnedString BINDINGS_EXPORTED SerializeFilters() const;
- static BINDINGS_EXPORTED Subscription* FromID(const String& id);
+ static Subscription* BINDINGS_EXPORTED FromID(const String& id);
template<typename T>
T* As();
};
typedef intrusive_ptr<Subscription> SubscriptionPtr;
« no previous file with comments | « compiled/subscription/DownloadableSubscription.h ('k') | compiled/subscription/UserDefinedSubscription.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld