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

Unified Diff: src/plugin/PluginUserSettings.h

Issue 5979857238360064: Issues #1163, #1173 - refactor CPluginUserSettings (Closed)
Patch Set: Created Jan. 9, 2015, 4:36 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 | « no previous file | src/plugin/PluginUserSettings.cpp » ('j') | src/plugin/PluginUserSettings.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginUserSettings.h
===================================================================
--- a/src/plugin/PluginUserSettings.h
+++ b/src/plugin/PluginUserSettings.h
@@ -1,7 +1,23 @@
-#pragma once
+/*
+ * This file is part of Adblock Plus <http://adblockplus.org/>,
+ * Copyright (C) 2006-2015 Eyeo GmbH
+ *
+ * Adblock Plus is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 3 as
+ * published by the Free Software Foundation.
+ *
+ * Adblock Plus is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef PLUGIN_USER_SETTINGS_H
+#define PLUGIN_USER_SETTINGS_H
-#include <vector>
-#include <utility>
+#include <OAIdl.h>
/*
Class is used to call methods Get,Set,Update of Settings object from JavaScript.
@@ -11,8 +27,6 @@
class CPluginUserSettings: public IDispatch
{
public:
- CPluginUserSettings();
-
// IUnknown
STDMETHOD(QueryInterface)(REFIID riid, void **ppvObj);
ULONG __stdcall AddRef();
@@ -25,3 +39,5 @@
STDMETHOD(Invoke)(DISPID dispidMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispparams, VARIANT* pVarResult,
EXCEPINFO* pExcepinfo, UINT* pArgErr);
};
+
+#endif
« no previous file with comments | « no previous file | src/plugin/PluginUserSettings.cpp » ('j') | src/plugin/PluginUserSettings.cpp » ('J')

Powered by Google App Engine
This is Rietveld