////////////////////////////////////////////////////////////////////////////////
//
// SelectMngEvent.h
// SelectMngEvent -     (COM)
//
////////////////////////////////////////////////////////////////////////////////

#ifndef _SELECTMNGEVENT_H
#define _SELECTMNGEVENT_H

#ifndef _BASEEVENT_H
#include "BaseEvent.h"
#endif  

//---------------------------------------------------------------------------
// SelectMngEvent -     (TEventsDispatcher)
// ---
class SelectMngEvent : public TBaseEvent<ISelectionMngNotify, & IID_ISelectionMngNotify>
{
  reference m_refDoc;

public:
  SelectMngEvent( reference refDoc );

protected:
  //  
  //      notifyType
  virtual VARIANT_BOOL STDMETHODCALLTYPE IsNotifyProcess( int notifyType );
  //  
  virtual VARIANT_BOOL STDMETHODCALLTYPE Select( VARIANT obj );
  //  
  virtual VARIANT_BOOL STDMETHODCALLTYPE Unselect( VARIANT obj );
  //   
  virtual VARIANT_BOOL STDMETHODCALLTYPE UnselectAll( void );
};
#endif

