// SelectMngEvent.h : header file
//
#ifndef _SPCDOCEVENT_H
#define _SPCDOCEVENT_H

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

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


////////////////////////////////////////////////////////////////////////////////
//
// SelectMngEvent  -      
//
////////////////////////////////////////////////////////////////////////////////
class SpcDocEvent : public BaseEvent
{
//  CString libName;

// Attributes
public:
	SpcDocEvent( reference doc );           
  virtual ~SpcDocEvent();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(SelectMngEvent)
	//}}AFX_VIRTUAL
   void      ShowEventName( LPCTSTR eventName, LPCTSTR docName, long numb );
	 virtual   CString   EventCaption();
// Implementation
protected:
	
	// Generated message map functions
	//{{AFX_MSG(SelectMngEvent)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
 virtual   LPUNKNOWN GetUnknown();
// Implementation

	BEGIN_INTERFACE_PART( SpcDocumentNotify, ISpcDocumentNotify )
		INIT_INTERFACE_PART( SpcDocEvent, SpcDocumentNotify )
      STDMETHOD_( VARIANT_BOOL, DocumentBeginAdd ) ( THIS_ );
      
      STDMETHOD_( VARIANT_BOOL, DocumentAdd ) ( THIS_ LPSTR docName );
      
      STDMETHOD_( VARIANT_BOOL, DocumentBeginRemove ) ( THIS_  LPSTR docName );
      
      STDMETHOD_( VARIANT_BOOL, DocumentRemove ) ( THIS_ LPSTR docName );
      
      STDMETHOD_( VARIANT_BOOL, SpcStyleBeginChange ) ( THIS_ LPSTR libName, long numb );
      
      STDMETHOD_( VARIANT_BOOL, SpcStyleChange ) ( THIS_ LPSTR libName, long numb );

      //      notifyType
      STDMETHOD_(VARIANT_BOOL, IsNotifyProcess)( THIS_ int notifyType );
      
	END_INTERFACE_PART( SpcDocumentNotify )

};

BaseEvent* NewSpcDocEvent( reference doc );

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif 
