2010-10-27 13:11:31 +01:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2001-06-11 09:11:16 +00:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-11 06:27:12 +00:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2001-06-11 09:11:16 +00:00
|
|
|
*
|
2010-06-22 11:12:01 +02:00
|
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
2001-06-11 09:11:16 +00:00
|
|
|
*
|
2008-04-11 06:27:12 +00:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2001-06-11 09:11:16 +00:00
|
|
|
*
|
2010-06-22 11:12:01 +02:00
|
|
|
* $RCSfile: layoutmanager.hxx,v $
|
|
|
|
* $Revision: 1.34 $
|
|
|
|
*
|
2008-04-11 06:27:12 +00:00
|
|
|
* This file is part of OpenOffice.org.
|
2001-06-11 09:11:16 +00:00
|
|
|
*
|
2008-04-11 06:27:12 +00:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2001-06-11 09:11:16 +00:00
|
|
|
*
|
2008-04-11 06:27:12 +00:00
|
|
|
* OpenOffice.org 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 version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2001-06-11 09:11:16 +00:00
|
|
|
*
|
2008-04-11 06:27:12 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2001-06-11 09:11:16 +00:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
2010-06-22 11:12:01 +02:00
|
|
|
#ifndef __FRAMEWORK_LAYOUTMANAGER_PANEL_HXX_
|
|
|
|
#define __FRAMEWORK_LAYOUTMANAGER_PANEL_HXX_
|
2001-06-11 09:11:16 +00:00
|
|
|
|
|
|
|
//_________________________________________________________________________________________________________________
|
2010-06-22 11:12:01 +02:00
|
|
|
// my own includes
|
2001-06-11 09:11:16 +00:00
|
|
|
//_________________________________________________________________________________________________________________
|
|
|
|
|
2010-06-22 11:12:01 +02:00
|
|
|
#include <macros/generic.hxx>
|
|
|
|
#include <stdtypes.h>
|
|
|
|
#include <properties.h>
|
|
|
|
|
2001-06-11 09:11:16 +00:00
|
|
|
//_________________________________________________________________________________________________________________
|
2010-06-22 11:12:01 +02:00
|
|
|
// interface includes
|
2001-06-11 09:11:16 +00:00
|
|
|
//_________________________________________________________________________________________________________________
|
|
|
|
|
2010-06-22 11:12:01 +02:00
|
|
|
#include <com/sun/star/awt/XWindow.hpp>
|
|
|
|
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
2001-06-11 09:11:16 +00:00
|
|
|
|
|
|
|
//_________________________________________________________________________________________________________________
|
2010-06-22 11:12:01 +02:00
|
|
|
// other includes
|
2001-06-11 09:11:16 +00:00
|
|
|
//_________________________________________________________________________________________________________________
|
|
|
|
|
2010-06-22 11:12:01 +02:00
|
|
|
#include <vcl/window.hxx>
|
|
|
|
#include <vcl/splitwin.hxx>
|
|
|
|
|
|
|
|
//_________________________________________________________________________________________________________________
|
|
|
|
// namespace
|
|
|
|
//_________________________________________________________________________________________________________________
|
|
|
|
|
|
|
|
namespace framework
|
2001-06-11 09:11:16 +00:00
|
|
|
{
|
|
|
|
|
2010-06-22 11:12:01 +02:00
|
|
|
enum PanelPosition
|
|
|
|
{
|
|
|
|
PANEL_TOP,
|
|
|
|
PANEL_LEFT,
|
|
|
|
PANEL_RIGHT,
|
|
|
|
PANEL_BOTTOM,
|
|
|
|
PANEL_COUNT
|
|
|
|
};
|
|
|
|
|
|
|
|
class Panel
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Panel( const css::uno::Reference< css::lang::XMultiServiceFactory >& rSMGR,
|
|
|
|
const css::uno::Reference< css::awt::XWindow >& rParent,
|
|
|
|
PanelPosition nPanel );
|
|
|
|
virtual ~Panel();
|
2001-06-11 09:11:16 +00:00
|
|
|
|
2010-06-22 11:12:01 +02:00
|
|
|
private:
|
|
|
|
css::uno::Reference< css::lang::XMultiServiceFactory > m_xSMGR;
|
|
|
|
css::uno::Reference< css::awt::XWindow > m_xPanelWindow;
|
|
|
|
PanelPosition m_nPanelPosition;
|
|
|
|
};
|
2001-06-11 09:11:16 +00:00
|
|
|
|
2010-06-22 11:12:01 +02:00
|
|
|
}
|
2001-06-11 09:11:16 +00:00
|
|
|
|
2010-06-22 11:12:01 +02:00
|
|
|
#endif // __FRAMEWORK_LAYOUTMANAGER_PANEL_HXX_
|
2010-10-27 13:11:31 +01:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|