Skip to content

Commit 0fc41bf

Browse files
author
Tor Lillqvist
committed
Use consistent ordering of private/protected/public sections
1 parent 7d33ab0 commit 0fc41bf

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

include/CProxiedClassFactory.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,13 @@
2525

2626
class CProxiedClassFactory : public CProxiedUnknown
2727
{
28-
public:
29-
CProxiedClassFactory(IClassFactory* pClassFactoryToProxy, const char* sLibName);
30-
3128
private:
3229
IClassFactory* const mpClassFactoryToProxy;
3330

3431
public:
35-
// IClassFactory
32+
CProxiedClassFactory(IClassFactory* pClassFactoryToProxy, const char* sLibName);
3633

34+
// IClassFactory
3735
virtual HRESULT STDMETHODCALLTYPE CreateInstance(IUnknown* pUnkOuter, REFIID riid,
3836
void** ppvObject);
3937
};

include/CProxiedDispatch.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525

2626
class CProxiedDispatch : public CProxiedUnknown
2727
{
28+
private:
29+
IDispatch* const mpDispatchToProxy;
30+
2831
protected:
2932
CProxiedDispatch(IUnknown* pBaseClassUnknown, IDispatch* pDispatchToProxy,
3033
const char* sLibName);
@@ -33,9 +36,6 @@ class CProxiedDispatch : public CProxiedUnknown
3336
CProxiedDispatch(IUnknown* pBaseClassUnknown, IDispatch* pDispatchToProxy, const IID& rIID1,
3437
const IID& rIID2, const char* sLibName);
3538

36-
private:
37-
IDispatch* const mpDispatchToProxy;
38-
3939
public:
4040
static CProxiedDispatch* get(IUnknown* pBaseClassUnknown, IDispatch* pDispatchToProxy,
4141
const char* sLibName);

include/CProxiedEnumConnections.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ class CProxiedEnumConnections : public CProxiedUnknown
3939
const char* sLibName);
4040

4141
// IEnumConnections
42-
4342
virtual HRESULT STDMETHODCALLTYPE Next(ULONG cConnections, LPCONNECTDATA rgcd,
4443
ULONG* pcFetched);
4544

include/CProxiedSink.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ class CProxiedSink : public CProxiedUnknown
4949
const char* sLibName);
5050

5151
// IDispatch
52-
5352
virtual HRESULT STDMETHODCALLTYPE GetTypeInfoCount(UINT* pctinfo);
5453

5554
virtual HRESULT STDMETHODCALLTYPE GetTypeInfo(UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo);

0 commit comments

Comments
 (0)