/* -*- 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_IMAPIFORMFACTORY_DEF
#define F2T_IMAPIFORMFACTORY_DEF

#pragma prefix "omc.brutus"

#include "types.idl"

module BRUTUS {

        // This interface is at the epicenter of the problems that persists
        // regarding form support. The IClassFactory parameter will open up
        // for the return of all kind of COM objects, a "feature" that we do 
        // not want to support. This issue makes it crystal clear that a new
        // form framework needs to be developed for Brutus.
        interface IMAPIFormFactory : IUnknown {
//                 BRESULT CreateClassFactory(in GUID clsidForm,
//                                            in BDEFINE ulFlags,
//                                            out IClassFactory lppClassFactory);

//                 BRESULT LockServer(in BDEFINE ulFlags,
//                                    in boolean fLockServer);
        };

}; // End of module BRUTUS


#endif
