2006/09/20 18:42:24 pb 1.2.332.4: RESYNC: (1.4-1.5); FILE MERGED 2006/07/12 18:54:48 pb 1.2.332.3: RESYNC: (1.3-1.4); FILE MERGED 2005/12/08 13:09:30 kso 1.2.332.2: RESYNC: (1.2-1.3); FILE MERGED 2005/11/01 14:28:53 kso 1.2.332.1: #i57125# - dialog adaptions for Threading Framework.
67 lines
2.2 KiB
C++
67 lines
2.2 KiB
C++
/*************************************************************************
|
|
*
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
*
|
|
* $RCSfile: abstdlg.cxx,v $
|
|
*
|
|
* $Revision: 1.6 $
|
|
*
|
|
* last change: $Author: vg $ $Date: 2006-11-22 10:39:50 $
|
|
*
|
|
* 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
|
|
*
|
|
************************************************************************/
|
|
|
|
// MARKER(update_precomp.py): autogen include statement, do not remove
|
|
#include "precompiled_vcl.hxx"
|
|
|
|
#include "abstdlg.hxx"
|
|
#include "cuilib.hxx"
|
|
|
|
#include <osl/module.hxx>
|
|
#include <tools/string.hxx>
|
|
|
|
typedef VclAbstractDialogFactory* (__LOADONCALLAPI *FuncPtrCreateDialogFactory)();
|
|
|
|
VclAbstractDialogFactory* VclAbstractDialogFactory::Create()
|
|
{
|
|
FuncPtrCreateDialogFactory fp = 0;
|
|
static ::osl::Module aDialogLibrary;
|
|
if ( aDialogLibrary.is() || aDialogLibrary.load( String( RTL_CONSTASCII_USTRINGPARAM( DLL_NAME ) ) ) )
|
|
fp = ( VclAbstractDialogFactory* (__LOADONCALLAPI*)() )
|
|
aDialogLibrary.getFunctionSymbol( ::rtl::OUString::createFromAscii("CreateDialogFactory") );
|
|
if ( fp )
|
|
return fp();
|
|
return 0;
|
|
}
|
|
|
|
VclAbstractDialog::~VclAbstractDialog()
|
|
{
|
|
}
|
|
|
|
// virtual
|
|
VclAbstractDialog2::~VclAbstractDialog2()
|
|
{
|
|
}
|