| Index: src/plugin/PluginUserSettings.h |
| =================================================================== |
| --- a/src/plugin/PluginUserSettings.h |
| +++ b/src/plugin/PluginUserSettings.h |
| @@ -1,7 +1,7 @@ |
| -#pragma once |
| +#ifndef PLUGIN_USER_SETTINGS_H |
|
sergei
2015/01/09 15:42:54
What does it improve?
Eric
2015/01/09 16:25:24
Consistency. All the other headers use #ifndef gua
|
| +#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,7 +11,9 @@ |
| class CPluginUserSettings: public IDispatch |
| { |
| public: |
| - CPluginUserSettings(); |
| + CPluginUserSettings() // = default; |
|
sergei
2015/01/09 15:42:54
If the implementation of the ctr is default and ca
Eric
2015/01/09 16:25:24
OK.
This class shouldn't be copyable or movable,
|
| + { |
| + } |
| // IUnknown |
| STDMETHOD(QueryInterface)(REFIID riid, void **ppvObj); |
| @@ -25,3 +27,5 @@ |
| STDMETHOD(Invoke)(DISPID dispidMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispparams, VARIANT* pVarResult, |
| EXCEPINFO* pExcepinfo, UINT* pArgErr); |
| }; |
| + |
| +#endif |