/usr/include/Wt/WLayoutItemImpl is in libwt-dev 3.3.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | // This may look like C code, but it's really -*- C++ -*-
/*
* Copyright (C) 2008 Emweb bvba, Kessel-Lo, Belgium.
*
* See the LICENSE file for terms of use.
*/
#ifndef WLAYOUT_ITEM_IMPL_H_
#define WLAYOUT_ITEM_IMPL_H_
#include <Wt/WDllDefs.h>
#include <string>
namespace Wt {
class WLayoutItem;
class WWidget;
/*! \class WLayoutItemImpl Wt/WLayoutItemImpl Wt/WLayoutItemImpl
* \brief An abstract base class for implementing layout managers.
*
* \sa WLayoutItem, WLayout
*/
class WT_API WLayoutItemImpl
{
public:
/*! \brief Destructor.
*/
virtual ~WLayoutItemImpl();
/*! \brief Adds a layout <i>item</i>.
*
* The \p item already has an implementation set.
*/
virtual void updateAddItem(WLayoutItem *item) = 0;
/*! \brief Removes a layout <i>item</i>.
*/
virtual void updateRemoveItem(WLayoutItem *item) = 0;
/*! \brief Updates the layout.
*/
virtual void update(WLayoutItem *item) = 0;
/*! \brief Returns the widget for which this layout item participates in
* layout management.
*/
virtual WWidget *parentWidget() const = 0;
/*! \brief Provides a hint that can aid in layout strategy / algorithm.
*/
virtual void setHint(const std::string& name, const std::string& value) = 0;
};
}
#endif // WLAYOUT_ITEM_IMPL_H_
|