diff options
author | Underground78 <underground78@users.sourceforge.net> | 2013-06-01 20:47:06 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2013-06-19 00:18:20 +0400 |
commit | 7dc747e4d3a0043c863583475ec49e4be4c260ca (patch) | |
tree | 974b9ddd765b5333f2fd235bfeb1a61ebfdbc9a3 /src/DSUtil/DSMPropertyBag.h | |
parent | c5fb9c73b7f622300cf5d36346fdf8872d79cf2b (diff) |
Use "PURE" instead of "= 0" for COM interfaces.
Diffstat (limited to 'src/DSUtil/DSMPropertyBag.h')
-rw-r--r-- | src/DSUtil/DSMPropertyBag.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/DSUtil/DSMPropertyBag.h b/src/DSUtil/DSMPropertyBag.h index f11693836..f99e144f8 100644 --- a/src/DSUtil/DSMPropertyBag.h +++ b/src/DSUtil/DSMPropertyBag.h @@ -28,11 +28,11 @@ interface __declspec(uuid("232FD5D2-4954-41E7-BF9B-09E1257B1A95"))
IDSMPropertyBag :
public IPropertyBag2 {
- STDMETHOD(SetProperty)(LPCWSTR key, LPCWSTR value) = 0;
- STDMETHOD(SetProperty)(LPCWSTR key, VARIANT * var) = 0;
- STDMETHOD(GetProperty)(LPCWSTR key, BSTR * value) = 0;
- STDMETHOD(DelAllProperties)() = 0;
- STDMETHOD(DelProperty)(LPCWSTR key) = 0;
+ STDMETHOD(SetProperty)(LPCWSTR key, LPCWSTR value) PURE;
+ STDMETHOD(SetProperty)(LPCWSTR key, VARIANT * var) PURE;
+ STDMETHOD(GetProperty)(LPCWSTR key, BSTR * value) PURE;
+ STDMETHOD(DelAllProperties)() PURE;
+ STDMETHOD(DelProperty)(LPCWSTR key) PURE;
};
class IDSMPropertyBagImpl : public ATL::CSimpleMap<CStringW, CStringW>, public IDSMPropertyBag, public IPropertyBag
@@ -75,12 +75,12 @@ public: interface __declspec(uuid("EBAFBCBE-BDE0-489A-9789-05D5692E3A93"))
IDSMResourceBag :
public IUnknown {
- STDMETHOD_(DWORD, ResGetCount)() = 0;
- STDMETHOD(ResGet)(DWORD iIndex, BSTR * ppName, BSTR * ppDesc, BSTR * ppMime, BYTE** ppData, DWORD * pDataLen, DWORD_PTR * pTag) = 0;
- STDMETHOD(ResSet)(DWORD iIndex, LPCWSTR pName, LPCWSTR pDesc, LPCWSTR pMime, BYTE * pData, DWORD len, DWORD_PTR tag) = 0;
- STDMETHOD(ResAppend)(LPCWSTR pName, LPCWSTR pDesc, LPCWSTR pMime, BYTE * pData, DWORD len, DWORD_PTR tag) = 0;
- STDMETHOD(ResRemoveAt)(DWORD iIndex) = 0;
- STDMETHOD(ResRemoveAll)(DWORD_PTR tag) = 0;
+ STDMETHOD_(DWORD, ResGetCount)() PURE;
+ STDMETHOD(ResGet)(DWORD iIndex, BSTR * ppName, BSTR * ppDesc, BSTR * ppMime, BYTE** ppData, DWORD * pDataLen, DWORD_PTR * pTag) PURE;
+ STDMETHOD(ResSet)(DWORD iIndex, LPCWSTR pName, LPCWSTR pDesc, LPCWSTR pMime, BYTE * pData, DWORD len, DWORD_PTR tag) PURE;
+ STDMETHOD(ResAppend)(LPCWSTR pName, LPCWSTR pDesc, LPCWSTR pMime, BYTE * pData, DWORD len, DWORD_PTR tag) PURE;
+ STDMETHOD(ResRemoveAt)(DWORD iIndex) PURE;
+ STDMETHOD(ResRemoveAll)(DWORD_PTR tag) PURE;
};
class CDSMResource
@@ -128,14 +128,14 @@ public: interface __declspec(uuid("2D0EBE73-BA82-4E90-859B-C7C48ED3650F"))
IDSMChapterBag :
public IUnknown {
- STDMETHOD_(DWORD, ChapGetCount)() = 0;
- STDMETHOD(ChapGet)(DWORD iIndex, REFERENCE_TIME * prt, BSTR * ppName) = 0;
- STDMETHOD(ChapSet)(DWORD iIndex, REFERENCE_TIME rt, LPCWSTR pName) = 0;
- STDMETHOD(ChapAppend)(REFERENCE_TIME rt, LPCWSTR pName) = 0;
- STDMETHOD(ChapRemoveAt)(DWORD iIndex) = 0;
- STDMETHOD(ChapRemoveAll)() = 0;
- STDMETHOD_(long, ChapLookup)(REFERENCE_TIME * prt, BSTR * ppName) = 0;
- STDMETHOD(ChapSort)() = 0;
+ STDMETHOD_(DWORD, ChapGetCount)() PURE;
+ STDMETHOD(ChapGet)(DWORD iIndex, REFERENCE_TIME * prt, BSTR * ppName) PURE;
+ STDMETHOD(ChapSet)(DWORD iIndex, REFERENCE_TIME rt, LPCWSTR pName) PURE;
+ STDMETHOD(ChapAppend)(REFERENCE_TIME rt, LPCWSTR pName) PURE;
+ STDMETHOD(ChapRemoveAt)(DWORD iIndex) PURE;
+ STDMETHOD(ChapRemoveAll)() PURE;
+ STDMETHOD_(long, ChapLookup)(REFERENCE_TIME * prt, BSTR * ppName) PURE;
+ STDMETHOD(ChapSort)() PURE;
};
class CDSMChapter
|