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

Unified Diff: compiled/subscription/UserDefinedSubscription.h

Issue 29385742: Issue 4127 - [emscripten] Convert subscription classes to C++ - Part 2 (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Rebased Created April 13, 2017, 1:01 p.m.
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/Subscription.cpp ('k') | compiled/subscription/UserDefinedSubscription.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/subscription/UserDefinedSubscription.h
===================================================================
--- a/compiled/subscription/UserDefinedSubscription.h
+++ b/compiled/subscription/UserDefinedSubscription.h
@@ -24,10 +24,12 @@ class UserDefinedSubscription : public S
{
private:
int mDefaults;
public:
explicit UserDefinedSubscription(const String& id);
EMSCRIPTEN_KEEPALIVE bool IsDefaultFor(const Filter* filter) const;
EMSCRIPTEN_KEEPALIVE void MakeDefaultFor(const Filter* filter);
+ EMSCRIPTEN_KEEPALIVE void InsertFilterAt(Filter* filter, unsigned pos);
+ EMSCRIPTEN_KEEPALIVE bool RemoveFilterAt(unsigned pos);
EMSCRIPTEN_KEEPALIVE OwnedString Serialize() const;
};
« no previous file with comments | « compiled/subscription/Subscription.cpp ('k') | compiled/subscription/UserDefinedSubscription.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld