LEFT | RIGHT |
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-2017 eyeo GmbH | 3 * Copyright (C) 2006-2017 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 99 |
100 /** | 100 /** |
101 * Move constructor | 101 * Move constructor |
102 */ | 102 */ |
103 Subscription(Subscription&& src); | 103 Subscription(Subscription&& src); |
104 | 104 |
105 /** | 105 /** |
106 * Assignment operator | 106 * Assignment operator |
107 */ | 107 */ |
108 Subscription& operator=(const Subscription& src); | 108 Subscription& operator=(const Subscription& src); |
| 109 |
| 110 /** |
| 111 * Move assignment operator |
| 112 */ |
| 113 Subscription& operator=(Subscription&& src); |
109 | 114 |
110 /** | 115 /** |
111 * Checks if this subscription has been added to the list of subscriptions. | 116 * Checks if this subscription has been added to the list of subscriptions. |
112 * @return `true` if this subscription has been added. | 117 * @return `true` if this subscription has been added. |
113 */ | 118 */ |
114 bool IsListed() const; | 119 bool IsListed() const; |
115 | 120 |
116 /** | 121 /** |
117 * Adds this subscription to the list of subscriptions. | 122 * Adds this subscription to the list of subscriptions. |
118 */ | 123 */ |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 const JsValueList& param) const; | 559 const JsValueList& param) const; |
555 FilterPtr GetWhitelistingFilter(const std::string& url, | 560 FilterPtr GetWhitelistingFilter(const std::string& url, |
556 ContentTypeMask contentTypeMask, const std::string& documentUrl) const; | 561 ContentTypeMask contentTypeMask, const std::string& documentUrl) const; |
557 FilterPtr GetWhitelistingFilter(const std::string& url, | 562 FilterPtr GetWhitelistingFilter(const std::string& url, |
558 ContentTypeMask contentTypeMask, | 563 ContentTypeMask contentTypeMask, |
559 const std::vector<std::string>& documentUrls) const; | 564 const std::vector<std::string>& documentUrls) const; |
560 }; | 565 }; |
561 } | 566 } |
562 | 567 |
563 #endif | 568 #endif |
LEFT | RIGHT |