/*
 * Brutus sample header file for the IMAPIAdviseSink servant.
 * Copyright (C) 2004-2007 OMC Denmark ApS.
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */



#ifndef _IMAPIADVISESINKS_IMPL_H_
#define _IMAPIADVISESINKS_IMPL_H_

#include <idl_output/IMAPIAdviseSinkS.h>

#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

class  BRUTUS_IMAPIAdviseSink_i : public virtual POA_BRUTUS::IMAPIAdviseSink, 
				  public virtual PortableServer::RefCountServantBase
{
public:
	BRUTUS_IMAPIAdviseSink_i(unsigned long *Pin);
  
	virtual ~BRUTUS_IMAPIAdviseSink_i(void);
  
	virtual void OnNotify(const ::BRUTUS::seq_NOTIFICATION & lpNotifications)
		ACE_THROW_SPEC((CORBA::SystemException));
  
	virtual void InternalError(::BRUTUS::BRESULT ErrorCode)
		ACE_THROW_SPEC((CORBA::SystemException));
  
private:
	BRUTUS_IMAPIAdviseSink_i(void)
		{ };

	unsigned long *pin_;
};

#endif // _IMAPIADVISESINKS_IMPL_H_ 

/*
 * Local variables:
 * mode: C++
 * c-basic-offset: 8
 * tab-width: 8
 * indent-tabs-mode: nil
 * End:
 */
