"Fossies" - the Fresh Open Source Software archive

Member "evolution-brutus-1.2.35/idl/IExchangeImportContentsChanges.idl" of archive evolution-brutus-1.2.35.tar.gz:


/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */

/*
 *  Copyright (C) 2008 OMC Denmark ApS.
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Affero 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 Affero General Public License for more details.
 *
 *  You should have received a copy of the GNU Affero General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef F2T_IEXCHANGEIMPORTCONTENTSCHANGES_DEF
#define F2T_IEXCHANGEIMPORTCONTENTSCHANGES_DEF

#pragma prefix "omc.brutus"

#include "types.idl"
#include "IStream.idl"
#include "IMessage.idl"

module BRUTUS {
	interface IExchangeImportContentsChanges : IUnknown {
		BRESULT GetLastError(in BRESULT ReturnCode,
				     in BDEFINE ulFlags,
				     out MAPIERROR lppMAPIError);

		BRESULT Config(in IStream lpStream,
			       in BDEFINE ulFlags);

		BRESULT UpdateState(in IStream lpStream);

		BRESULT ImportMessageChange(in seq_SPropValue ppvalChanges,
					    in BDEFINE ulFlags,
					    out IMessage lppMessage);

		BRESULT ImportMessageDeletion(in BDEFINE ulFlags,
					      in SBinaryArray lpSrcEntryList);

		BRESULT ImportPerUserReadStateChange(in seq_READSTATE lpReadState);

		BRESULT ImportMessageMove(in seq_octet pbSourceKeySrcFolder,
					  in seq_octet pbSourceKeySrcMessage,
					  in seq_octet pbPCLMessage,
					  in seq_octet pbSourceKeyDestMessage,
					  in seq_octet pbChangeNumDestMessage);
	};
}; // End of module BRUTUS

#endif