2010-10-27 13:11:31 +01:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-06-21 14:30:25 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2002-03-21 06:07:56 +00:00
|
|
|
|
2014-05-15 12:06:32 +02:00
|
|
|
#ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_CUSTOMCONTROLCONTAINER_HXX
|
|
|
|
#define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_CUSTOMCONTROLCONTAINER_HXX
|
2002-03-21 06:07:56 +00:00
|
|
|
|
|
|
|
#include "customcontrol.hxx"
|
|
|
|
|
|
|
|
#include <list>
|
|
|
|
|
2014-02-25 18:51:57 +01:00
|
|
|
|
2002-03-21 06:07:56 +00:00
|
|
|
// A container for custom controls
|
|
|
|
// the container is resposible for
|
|
|
|
// the destruction of the custom
|
|
|
|
// controls
|
2014-02-25 18:51:57 +01:00
|
|
|
|
2002-03-21 06:07:56 +00:00
|
|
|
|
|
|
|
class CCustomControlContainer : public CCustomControl
|
|
|
|
{
|
|
|
|
public:
|
2016-10-14 16:55:19 +02:00
|
|
|
virtual ~CCustomControlContainer() override;
|
2002-03-21 06:07:56 +00:00
|
|
|
|
2016-10-14 16:55:19 +02:00
|
|
|
virtual void SAL_CALL Align() override;
|
|
|
|
virtual void SAL_CALL SetFont(HFONT hFont) override;
|
2002-03-21 06:07:56 +00:00
|
|
|
|
2016-10-14 16:55:19 +02:00
|
|
|
virtual void SAL_CALL AddControl(CCustomControl* aCustomControl) override;
|
|
|
|
virtual void SAL_CALL RemoveControl(CCustomControl* aCustomControl) override;
|
|
|
|
virtual void SAL_CALL RemoveAllControls() override;
|
2002-03-21 06:07:56 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
typedef std::list<CCustomControl*> ControlContainer_t;
|
|
|
|
|
|
|
|
ControlContainer_t m_ControlContainer;
|
|
|
|
};
|
|
|
|
|
2003-10-06 14:54:38 +00:00
|
|
|
#endif
|
2010-10-27 13:11:31 +01:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|