| Left: | ||
| Right: |
| 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-2015 Eyeo GmbH | 3 * Copyright (C) 2006-2015 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 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 760 } | 760 } |
| 761 /* | 761 /* |
| 762 * Ordinarily a method not dispatched should return DISP_E_MEMBERNOTFOUND. | 762 * Ordinarily a method not dispatched should return DISP_E_MEMBERNOTFOUND. |
| 763 * As a conservative initial change, we leave it behaving as before, | 763 * As a conservative initial change, we leave it behaving as before, |
| 764 * which is to do nothing and return S_OK. | 764 * which is to do nothing and return S_OK. |
| 765 */ | 765 */ |
| 766 // do nothing | 766 // do nothing |
| 767 break; | 767 break; |
| 768 } | 768 } |
| 769 } | 769 } |
| 770 catch(...) | 770 catch (...) |
| 771 { | 771 { |
| 772 DEBUG_GENERAL( "Caught unknown exception in CPluginClass::Invoke" ); | 772 EntryPointExceptionDefault("CPluginClass::Invoke"); |
|
sergei
2015/03/06 13:51:12
I expected such methods to determine what should b
Eric
2015/03/06 17:29:59
For the generic version for arbitrary entry point
| |
| 773 return E_FAIL; | 773 return E_FAIL; |
| 774 } | 774 } |
| 775 return S_OK; | 775 return S_OK; |
| 776 } | 776 } |
| 777 | 777 |
| 778 bool CPluginClass::InitObject(bool bBHO) | 778 bool CPluginClass::InitObject(bool bBHO) |
| 779 { | 779 { |
| 780 DEBUG_GENERAL("InitObject"); | 780 DEBUG_GENERAL("InitObject"); |
| 781 CPluginSettings* settings = CPluginSettings::GetInstance(); | 781 CPluginSettings* settings = CPluginSettings::GetInstance(); |
| 782 | 782 |
| (...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1886 } | 1886 } |
| 1887 } | 1887 } |
| 1888 } | 1888 } |
| 1889 | 1889 |
| 1890 hTabWnd = ::GetWindow(hTabWnd, GW_HWNDNEXT); | 1890 hTabWnd = ::GetWindow(hTabWnd, GW_HWNDNEXT); |
| 1891 } | 1891 } |
| 1892 | 1892 |
| 1893 return hTabWnd; | 1893 return hTabWnd; |
| 1894 | 1894 |
| 1895 } | 1895 } |
| OLD | NEW |