OLD | NEW |
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 Loading... |
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 }; |
OLD | NEW |