You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
98 lines
2.6 KiB
98 lines
2.6 KiB
// File: BLObEvn.h
|
|
// Messenger integration to OE
|
|
// Created 04/20/98 by YST
|
|
//
|
|
//
|
|
// Copyright (c) Microsoft Corporation 1997-1998
|
|
//
|
|
|
|
#ifndef BLOBEVNT_H
|
|
#define BLOBEVNT_H
|
|
|
|
//****************************************************************************
|
|
//
|
|
// INCLUDES
|
|
//
|
|
//****************************************************************************
|
|
|
|
#include "clUtil.h"
|
|
#include "basicim2.h"
|
|
|
|
class CMsgrList;
|
|
|
|
//****************************************************************************
|
|
//
|
|
// DEFINES
|
|
//
|
|
//****************************************************************************
|
|
|
|
|
|
//****************************************************************************
|
|
//
|
|
// CLASS CMsgrObjectEvents
|
|
//
|
|
//****************************************************************************
|
|
|
|
class CMsgrObjectEvents : public DBasicIMEvents,
|
|
public RefCount
|
|
{
|
|
|
|
//****************************************************************************
|
|
//
|
|
// METHODS
|
|
//
|
|
//****************************************************************************
|
|
|
|
public:
|
|
|
|
// Constructor/Destructor
|
|
|
|
CMsgrObjectEvents();
|
|
virtual ~CMsgrObjectEvents();
|
|
|
|
|
|
//****************************************************************************
|
|
//
|
|
// IUnknown methods declaration
|
|
//
|
|
//****************************************************************************
|
|
|
|
ULONG STDMETHODCALLTYPE AddRef(void);
|
|
ULONG STDMETHODCALLTYPE Release(void);
|
|
HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, LPVOID *ppvObject);
|
|
|
|
|
|
//****************************************************************************
|
|
//
|
|
// IDispatch methods declaration
|
|
//
|
|
//****************************************************************************
|
|
|
|
STDMETHOD (GetTypeInfoCount) (UINT* pCountTypeInfo);
|
|
STDMETHOD (GetTypeInfo) ( UINT iTypeInfo,
|
|
LCID, // This object does not support localization.
|
|
ITypeInfo** ppITypeInfo);
|
|
STDMETHOD (GetIDsOfNames) ( const IID& iid,
|
|
OLECHAR** arrayNames,
|
|
UINT countNames,
|
|
LCID, // Localization is not supported.
|
|
DISPID* arrayDispIDs);
|
|
STDMETHOD (Invoke) ( DISPID dispidMember,
|
|
const IID& iid,
|
|
LCID, // Localization is not supported.
|
|
WORD wFlags,
|
|
DISPPARAMS* pDispParams,
|
|
VARIANT* pvarResult,
|
|
EXCEPINFO* pExcepInfo,
|
|
UINT* pArgErr);
|
|
|
|
STDMETHOD (SetListOfBuddies) (CMsgrList *pList);
|
|
STDMETHOD (DelListOfBuddies) (void);
|
|
|
|
private:
|
|
CMsgrList * m_pMsgrList;
|
|
IBasicIM * m_pMsgr;
|
|
};
|
|
|
|
|
|
#endif //BLOBEVNT_H
|