/*************************************************************************
 *
 *  OpenOffice.org - a multi-platform office productivity suite
 *
 *  $RCSfile: sfx2_fsetobsh.cxx,v $
 *
 *  $Revision: 1.8 $
 *
 *  last change: $Author: rt $ $Date: 2006/10/27 19:29:12 $
 *
 *  The Contents of this file are made available subject to
 *  the terms of GNU Lesser General Public License Version 2.1.
 *
 *
 *    GNU Lesser General Public License Version 2.1
 *    =============================================
 *    Copyright 2005 by Sun Microsystems, Inc.
 *    901 San Antonio Road, Palo Alto, CA 94303, USA
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License version 2.1, as published by the Free Software Foundation.
 *
 *    This library 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
 *    Lesser General Public License for more details.
 *
 *    You should have received a copy of the GNU Lesser General Public
 *    License along with this library; if not, write to the Free Software
 *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *    MA  02111-1307  USA
 *
 ************************************************************************/

#if SUPD>551
#else
#endif

#include "fsetobsh.hxx"

#pragma hdrstop




#if SUPD<613//MUSTINI
#endif
#if SUPD<582
#endif
#include "objface.hxx"
#include "doc.hrc"

//ASDBG using namespace usr;
using namespace ::vos;

#ifndef _CPPUHELPER_TYPEPROVIDER_HXX_
#include <cppuhelper/typeprovider.hxx>
#endif

#define SfxFrameSetObjectShell
#include "so3/staticbaseurl.hxx"
namespace binfilter {
#include <sfxslots.hxx>

static const sal_uInt16 nVersion = 3;

/*N*/ TYPEINIT1(SfxFrameSetObjectShell, SfxObjectShell);

//------------------------------------------------------------------

/*N*/ SfxFrameSetObjectShell::SfxFrameSetObjectShell(SfxObjectCreateMode eMode) :
/*N*/ 	SfxObjectShell(eMode),
/*N*/ 	pDescriptor(0L)
/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 
/*N*/ }


//------------------------------------------------------------------

/*N*/ String SfxFrameSetObjectShell::GetSource()
/*N*/ {DBG_BF_ASSERT(0, "STRIP");return String(); //STRIP001 
/*N*/ }

/*N*/ void SfxFrameSetObjectShell::TakeSource( const String& rSource )
/*N*/ {DBG_BF_ASSERT(0, "STRIP"); //STRIP001 
/*N*/ }


/*N*/ SfxFrameSetModel::SfxFrameSetModel( SfxFrameSetObjectShell *pShell )
/*N*/ 	: SfxBaseModel( pShell )
/*N*/ {
/*N*/ 	pDoc = pShell;
/*N*/ }
//------------------------------------------------------------------

/*N*/ SfxFrameSetModel::SfxFrameSetModel( ::com::sun::star::uno::Reference < ::com::sun::star::lang::XMultiServiceFactory > const & )
/*N*/ 	: SfxBaseModel( NULL )
/*N*/ {
/*N*/ 	DBG_ERRORFILE( "NIJ!" );
/*N*/ }
//------------------------------------------------------------------

/*N*/ SfxFrameSetModel::~SfxFrameSetModel()
/*N*/ {
/*N*/ }

//------------------------------------------------------------------

/*N*/ SFX_IMPL_XINTERFACE_2( SfxFrameSetModel, SfxBaseModel, ::com::sun::star::frame::XFrameSetModel, ::com::sun::star::lang::XServiceInfo )
/*N*/ SFX_IMPL_XTYPEPROVIDER_9( SfxFrameSetModel, ::com::sun::star::frame::XFrameSetModel, ::com::sun::star::frame::XModel, ::com::sun::star::lang::XEventListener, ::com::sun::star::view::XPrintable, ::com::sun::star::util::XModifiable, ::com::sun::star::frame::XStorable, ::com::sun::star::container::XChild, ::com::sun::star::document::XDocumentInfoSupplier, ::com::sun::star::lang::XServiceInfo )
/*N*/ SFX_IMPL_XSERVICEINFO( SfxFrameSetModel, "com.sun.star.frame.Model", "com.sun.star.comp.sfx2.FrameSetModel" )
/*N*/ SFX_IMPL_SINGLEFACTORY( SfxFrameSetModel )

/*N*/ ::rtl::OUString SAL_CALL SfxFrameSetModel::getSource() throw ( ::com::sun::star::uno::RuntimeException )
/*N*/ {
/*N*/ 	return pDoc->GetSource();
/*N*/ }

/*N*/ void SAL_CALL SfxFrameSetModel::setSource( const ::rtl::OUString& rSource ) throw ( ::com::sun::star::uno::RuntimeException )
/*N*/ {
/*N*/ 	pDoc->TakeSource( rSource );
/*N*/ }


}
