diff options
Diffstat (limited to 'plugins/SmileyAdd/src/SmileyBase.h')
-rw-r--r-- | plugins/SmileyAdd/src/SmileyBase.h | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/plugins/SmileyAdd/src/SmileyBase.h b/plugins/SmileyAdd/src/SmileyBase.h index d208360c3a..4f695b8ac8 100644 --- a/plugins/SmileyAdd/src/SmileyBase.h +++ b/plugins/SmileyAdd/src/SmileyBase.h @@ -32,22 +32,22 @@ EXTERN_C const IID IID_ISmileyAddSmiley; class ISmileyBase : public IOleObject, public IViewObject2, public ITooltipData
{
-protected:
IOleAdviseHolder* m_spAdviseHolder;
- IAdviseSink* m_spAdviseSink;
- IOleClientSite* m_spClientSite;
- DWORD m_advf;
- LONG m_lRefCount;
-
- SIZEL m_sizeExtent;
- SIZEL m_sizeExtentHiM;
- RECT m_orect;
+ IAdviseSink* m_spAdviseSink;
+ IOleClientSite* m_spClientSite;
+
+ DWORD m_advf;
+ LONG m_lRefCount;
TCHAR* m_smltxt;
- HWND m_hwnd;
- bool m_visible;
- bool m_dirAniAllow;
+protected:
+ SIZEL m_sizeExtent;
+ SIZEL m_sizeExtentHiM;
+ RECT m_orect;
+ HWND m_hwnd;
+ bool m_visible;
+ bool m_dirAniAllow;
public:
ISmileyBase(void);
@@ -62,10 +62,10 @@ public: virtual void Draw() PURE;
virtual void SetPosition(HWND hwnd, LPCRECT lpRect);
- //
+ //
// IUnknown members
//
- STDMETHOD_(ULONG, AddRef)(void);
+ STDMETHOD_(ULONG, AddRef)(void);
STDMETHOD_(ULONG, Release)(void);
STDMETHOD(QueryInterface)(REFIID iid, void ** ppvObject);
@@ -80,8 +80,7 @@ public: STDMETHOD(GetMoniker)(DWORD /* dwAssign */, DWORD /* dwWhichMoniker */, IMoniker** /* ppmk */);
STDMETHOD(InitFromData)(IDataObject* /* pDataObject */, BOOL /* fCreation */, DWORD /* dwReserved */);
STDMETHOD(GetClipboardData)(DWORD /* dwReserved */, IDataObject** /* ppDataObject */);
- STDMETHOD(DoVerb)(LONG /*iVerb*/, LPMSG /* pMsg */, IOleClientSite* /* pActiveSite */, LONG /* lindex */,
- HWND /*hwndParent*/, LPCRECT /*lprcPosRect*/);
+ STDMETHOD(DoVerb)(LONG /*iVerb*/, LPMSG /* pMsg */, IOleClientSite* /* pActiveSite */, LONG /* lindex */, HWND /*hwndParent*/, LPCRECT /*lprcPosRect*/);
STDMETHOD(EnumVerbs)(IEnumOLEVERB** /*ppEnumOleVerb*/);
STDMETHOD(Update)(void);
STDMETHOD(IsUpToDate)(void);
@@ -102,8 +101,7 @@ public: STDMETHOD(GetAdvise)(DWORD* /*pAspects*/, DWORD* /*pAdvf*/, IAdviseSink** ppAdvSink);
STDMETHOD(Freeze)(DWORD, long, void*, DWORD*);
STDMETHOD(Unfreeze)(DWORD);
- STDMETHOD(GetColorSet)(DWORD, long, void*, DVTARGETDEVICE*, HDC,
- LOGPALETTE**);
+ STDMETHOD(GetColorSet)(DWORD, long, void*, DVTARGETDEVICE*, HDC, LOGPALETTE**);
//
// IViewObject2 members
@@ -114,6 +112,5 @@ public: // ITooltipData members
//
STDMETHOD(SetTooltip)(BSTR bstrHint);
- STDMETHOD(GetTooltip)(BSTR *bstrHint);
+ STDMETHOD(GetTooltip)(BSTR *bstrHint);
};
-
|