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

Side by Side Diff: compiled/storage/FilterStorage.h

Issue 29532626: Issue 5603 - Support references in parameters of exported functions (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created Aug. 31, 2017, 12:36 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-present eyeo GmbH 3 * Copyright (C) 2006-present eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 20 matching lines...) Expand all
31 31
32 public: 32 public:
33 static FilterStorage* BINDINGS_EXPORTED GetInstance() 33 static FilterStorage* BINDINGS_EXPORTED GetInstance()
34 { 34 {
35 return mInstance; 35 return mInstance;
36 } 36 }
37 Subscriptions::size_type BINDINGS_EXPORTED GetSubscriptionCount() const; 37 Subscriptions::size_type BINDINGS_EXPORTED GetSubscriptionCount() const;
38 Subscription* BINDINGS_EXPORTED SubscriptionAt( 38 Subscription* BINDINGS_EXPORTED SubscriptionAt(
39 Subscriptions::size_type index) const; 39 Subscriptions::size_type index) const;
40 int BINDINGS_EXPORTED IndexOfSubscription( 40 int BINDINGS_EXPORTED IndexOfSubscription(
41 const Subscription* subscription) const; 41 const Subscription& subscription) const;
42 Subscription* BINDINGS_EXPORTED GetSubscriptionForFilter( 42 Subscription* BINDINGS_EXPORTED GetSubscriptionForFilter(
43 const Filter* filter) const; 43 const Filter& filter) const;
44 bool BINDINGS_EXPORTED AddSubscription(Subscription* subscription); 44 bool BINDINGS_EXPORTED AddSubscription(Subscription& subscription);
45 bool BINDINGS_EXPORTED RemoveSubscription(Subscription* subscription); 45 bool BINDINGS_EXPORTED RemoveSubscription(Subscription& subscription);
46 bool BINDINGS_EXPORTED MoveSubscription(Subscription* subscription, 46 bool BINDINGS_EXPORTED MoveSubscription(Subscription& subscription,
47 const Subscription* insertBefore); 47 const Subscription* insertBefore);
48 }; 48 };
OLDNEW

Powered by Google App Engine
This is Rietveld