remove some (hopefully) unneeded header includes

This commit is contained in:
Mark Tiefenbruck 2007-12-29 22:44:11 -08:00
parent de6d340ba3
commit 4cc810b0d3
55 changed files with 47 additions and 70 deletions

View file

@ -25,7 +25,8 @@
#define BUTTONTOOL_HH
#include "GenericTool.hh"
#include "FbTk/Observer.hh"
#include <X11/Xlib.h>
class ButtonTheme;

View file

@ -24,8 +24,6 @@
#ifndef CLIENTMENU_HH
#define CLIENTMENU_HH
#include <list>
#include "FbMenu.hh"
class BScreen;

View file

@ -27,12 +27,11 @@
#include "FbTk/TextBox.hh"
#include "FbTk/TextButton.hh"
#include "FbTk/Font.hh"
#include "FbTk/GContext.hh"
#include "FbTk/Command.hh"
#include "FbTk/RefCount.hh"
class BScreen;
class Command;
/**
* Displays a fluxbox command dialog which executes fluxbox

View file

@ -38,6 +38,7 @@
#include "FbTk/XLayerItem.hh"
#include "FbTk/XLayer.hh"
#include <X11/Xatom.h>
#include <iostream>
#include <algorithm>
#include <new>

View file

@ -23,11 +23,6 @@
#include "AtomHandler.hh"
#include "FbTk/FbString.hh"
#include "AttentionNoticeHandler.hh"
#include <X11/Xatom.h>
#include <vector>
#include <map>
/// Implementes Extended Window Manager Hints ( http://www.freedesktop.org/Standards/wm-spec )
class Ewmh:public AtomHandler {

View file

@ -24,7 +24,6 @@
#define FBATOMS_HH
#include <X11/Xlib.h>
#include <X11/Xatom.h>
/// atom handler for basic X atoms
class FbAtoms {

View file

@ -26,7 +26,6 @@
#include "Menu.hh"
#include "XLayerItem.hh"
#include <memory>
namespace FbTk {
class MenuTheme;

View file

@ -23,10 +23,11 @@
#define FBTK_BOOLMENUITEM_HH
#include "MenuItem.hh"
#include "Accessor.hh"
namespace FbTk {
class Accessor<class T>;
/// a bool menu item
class BoolMenuItem: public FbTk::MenuItem {
public:

View file

@ -33,7 +33,6 @@
#include "Text.hh"
#include <X11/Xlib.h>
#include <memory>
namespace FbTk {

View file

@ -27,8 +27,6 @@
#ifndef FBTK_COLOR_HH
#define FBTK_COLOR_HH
#include "NotCopyable.hh"
namespace FbTk {
/// Allocates rgb color and pixel value

View file

@ -29,7 +29,6 @@
#include "Text.hh" // for Orientation
#include <list>
#include <functional>
namespace FbTk {

View file

@ -22,6 +22,7 @@
// $Id$
#include "EventManager.hh"
#include "EventHandler.hh"
#include "FbWindow.hh"
#include "App.hh"

View file

@ -21,12 +21,13 @@
// $Id$
#include "EventHandler.hh"
#include <map>
#include <X11/Xlib.h>
namespace FbTk {
class FbWindow;
class EventHandler;
/**
singleton mediator for EventHandlers

View file

@ -25,7 +25,6 @@
#define FBTK_FONT_HH
#include <X11/Xlib.h>
#include <X11/Xresource.h>
#ifdef HAVE_CONFIG_H
#include "config.h"

View file

@ -24,13 +24,11 @@
#ifndef FBTK_FONTIMP_HH
#define FBTK_FONTIMP_HH
#include "Color.hh"
#include "Font.hh"
#include "Text.hh"
#include "FbString.hh"
#include <X11/Xlib.h>
#include <string>
namespace FbTk {
class FbDrawable;

View file

@ -34,9 +34,7 @@
#include "NotCopyable.hh"
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <list>
#include <set>
namespace FbTk {

View file

@ -23,12 +23,13 @@
#define FBTK_INTMENUITEM_HH
#include "MenuItem.hh"
#include "Accessor.hh"
#include <string>
namespace FbTk {
class Accessor<class T>;
/// Changes an resource integer value between min and max
class IntMenuItem: public FbTk::MenuItem {
public:

View file

@ -24,6 +24,8 @@
#include "KeyUtil.hh"
#include "App.hh"
#include <X11/keysym.h>
#include <string>
#ifdef HAVE_CSTRING
#include <cstring>

View file

@ -25,7 +25,6 @@
#define FBTK_KEYUTIL_HH
#include <X11/Xlib.h>
#include <X11/keysym.h>
#include <memory>

View file

@ -45,6 +45,7 @@
#include "SimpleCommand.hh"
#include "FbPixmap.hh"
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <X11/keysym.h>

View file

@ -34,10 +34,7 @@
#include "FbWindow.hh"
#include "EventHandler.hh"
#include "RefCount.hh"
#include "Command.hh"
#include "Observer.hh"
#include "FbPixmap.hh"
#include "MenuTheme.hh"
#include "Timer.hh"
#include "FbString.hh"
@ -45,8 +42,10 @@
namespace FbTk {
class Command;
class MenuItem;
class ImageControl;
class RefCount<class T>;
/// Base class for menus
class Menu: public FbTk::EventHandler, FbTk::FbWindowRenderer,

View file

@ -30,7 +30,6 @@
#include "Shape.hh"
#include "Texture.hh"
#include "Text.hh"
#include "Subject.hh"
#include "PixmapWithMask.hh"
#include "GContext.hh"

View file

@ -26,6 +26,7 @@
#include "XLayer.hh"
#include "XLayerItem.hh"
#include "App.hh"
#include "FbWindow.hh"
using namespace FbTk;

View file

@ -24,6 +24,7 @@
#include "MultiButtonMenuItem.hh"
#include "PixmapWithMask.hh"
#include "Command.hh"
namespace FbTk {

View file

@ -31,16 +31,12 @@
#include <list>
#include <iostream>
#include <X11/Xlib.h>
#include <X11/Xresource.h>
#include <exception>
#include <typeinfo>
#include "XrmDatabaseHelper.hh"
namespace FbTk {
class XrmDatabaseHelper;
class ResourceException: public std::exception {
public:
ResourceException(const std::string &err):

View file

@ -20,7 +20,7 @@
// DEALINGS IN THE SOFTWARE.
#include "SearchResult.hh"
#include <vector>
#include "ITypeAheadable.hh"
namespace FbTk {

View file

@ -23,10 +23,12 @@
#define FBTK_SEARCHRESULT_HH
#include <vector>
#include "ITypeAheadable.hh"
#include <string>
namespace FbTk {
class ITypeAheadable;
class SearchResult {
public:
typedef std::vector < ITypeAheadable* > BaseItems;

View file

@ -25,7 +25,6 @@
#include "FbPixmap.hh"
#include <X11/Xlib.h>
#include <memory>
#include <vector>
namespace FbTk {

View file

@ -25,8 +25,6 @@
#define FBTK_TEXTBOX_HH
#include "FbWindow.hh"
#include "Color.hh"
#include "Text.hh"
#include "EventHandler.hh"
#include <string>

View file

@ -26,7 +26,6 @@
#include "Button.hh"
#include "Text.hh"
#include "FbPixmap.hh"
#include <string>

View file

@ -32,6 +32,8 @@
#include "GContext.hh"
#include "I18n.hh"
#include <X11/Xutil.h>
#include <iostream>
#include <string>
#ifdef HAVE_CSTDIO

View file

@ -27,15 +27,15 @@
#ifndef FBTK_TEXTURRENDER_HH
#define FBTK_TEXTURRENDER_HH
#include "Texture.hh"
#include "Text.hh"
#include <X11/Xlib.h>
namespace FbTk {
class Color;
class ImageControl;
class Texture;
/// Renders texture to pixmap
/**

View file

@ -25,6 +25,8 @@
#include "XLayer.hh"
#include "XLayerItem.hh"
#include "App.hh"
#include "FbWindow.hh"
#include "MultLayers.hh"
#include <iostream>

View file

@ -28,10 +28,10 @@
#include <list>
#include "Layer.hh"
#include "MultLayers.hh"
namespace FbTk {
class MultLayers;
class XLayerItem;
class XLayer : public FbTk::Layer<XLayerItem, std::list<XLayerItem *> > {

View file

@ -28,10 +28,11 @@
#include "LayerItem.hh"
#include "XLayer.hh"
#include "NotCopyable.hh"
#include "FbWindow.hh"
namespace FbTk {
class FbWindow;
class XLayerItem : public LayerItem, private NotCopyable {
public:
typedef std::list<FbWindow *> Windows;

View file

@ -25,7 +25,6 @@
#ifndef FBTK_XRMDATABASEHELPER_HH
#define FBTK_XRMDATABASEHELPER_HH
#include <X11/Xlib.h>
#include <X11/Xresource.h>
/**

View file

@ -29,7 +29,6 @@
#include "FbTk/RefCount.hh"
#include "FbTk/Observer.hh"
#include "FbTk/Color.hh"
#include "FbTk/FbPixmap.hh"
#include "FbTk/XLayerItem.hh"
#include "FbTk/TextButton.hh"
#include "FbTk/DefaultValue.hh"
@ -47,10 +46,8 @@ class IconButton;
class Focusable;
namespace FbTk {
class TextButton;
class ImageControl;
class Command;
class Button;
class Texture;
class XLayer;
}

View file

@ -26,11 +26,9 @@
#include "FbTk/Font.hh"
#include "FbTk/Texture.hh"
#include "FbTk/Text.hh"
#include "FbTk/Color.hh"
#include "FbTk/Theme.hh"
#include "FbTk/BorderTheme.hh"
#include "FbTk/Subject.hh"
#include "FbTk/GContext.hh"
#include "FbTk/Shape.hh"

View file

@ -28,7 +28,10 @@
#include "FbTk/MenuItem.hh"
#include "FbTk/RefCount.hh"
#include "FbTk/Command.hh"
namespace FbTk {
class Command;
}
#include "FocusControl.hh"

View file

@ -23,6 +23,7 @@
#include "GenericTool.hh"
#include "FbTk/FbWindow.hh"
#include "ToolTheme.hh"
#include <string>

View file

@ -25,13 +25,14 @@
#define GENERICTOOL_HH
#include "ToolbarItem.hh"
#include "ToolTheme.hh"
#include "FbTk/NotCopyable.hh"
#include "FbTk/Observer.hh"
#include <memory>
class ToolTheme;
namespace FbTk {
class FbWindow;
}

View file

@ -27,13 +27,11 @@
#include "ToolbarItem.hh"
#include "FbMenu.hh"
#include "FocusableList.hh"
#include "FbTk/Container.hh"
#include "FbTk/CachedPixmap.hh"
#include "FbTk/Observer.hh"
#include "FbTk/Resource.hh"
#include "FbTk/Menu.hh"
#include <X11/Xlib.h>
@ -43,6 +41,7 @@ class IconbarTheme;
class BScreen;
class IconButton;
class Focusable;
class FocusableList;
class IconbarTool: public ToolbarItem, public FbTk::Observer {
public:

View file

@ -25,7 +25,6 @@
#include "FbTk/FbString.hh"
#include <string>
#include <list>
namespace FbTk {

View file

@ -24,9 +24,7 @@
#ifndef PLACEMENTSTRATEGY_HH
#define PLACEMENTSTRATEGY_HH
#include <list>
#include "Window.hh"
class FluxboxWindow;
struct PlacementStrategy {
/**

View file

@ -26,7 +26,6 @@
#include "FbTk/Theme.hh"
#include "FbTk/GContext.hh"
#include "FbTk/Texture.hh"
#include <X11/Xlib.h>

View file

@ -27,8 +27,6 @@
#include "FbMenu.hh"
#include "FbTk/Observer.hh"
class BScreen;
class SendToMenu:public FbMenu {

View file

@ -30,6 +30,7 @@
#include "fluxbox.hh"
#include "WinClient.hh"
#include "Screen.hh"
#include "ButtonTheme.hh"
#include <X11/Xutil.h>
#include <X11/Xatom.h>

View file

@ -30,13 +30,13 @@
#include "FbTk/Observer.hh"
#include "ToolbarItem.hh"
#include "ButtonTheme.hh"
#include "Screen.hh"
#include <X11/Xlib.h>
#include <list>
class BScreen;
class ButtonTheme;
class TrayWindow;
class AtomHandler;

View file

@ -30,7 +30,6 @@
#include "FbTk/BorderTheme.hh"
#include "FbTk/Texture.hh"
#include <X11/Xlib.h>
#include <string>
/// Handles toolbar item theme for text and texture

View file

@ -26,7 +26,6 @@
#include "FbTk/Theme.hh"
#include "FbTk/Texture.hh"
#include "FbTk/Color.hh"
#include "FbTk/BorderTheme.hh"
/// toolbar theme class container

View file

@ -24,7 +24,7 @@
#ifndef WINBUTTONTHEME_HH
#define WINBUTTONTHEME_HH
#include "Theme.hh"
#include "FbTk/Theme.hh"
#include "FbTk/PixmapWithMask.hh"
class FbWinFrameTheme;

View file

@ -38,6 +38,7 @@
#include <algorithm>
#include <iterator>
#include <memory>
#include <X11/Xatom.h>
#ifdef HAVE_CASSERT
#include <cassert>

View file

@ -38,7 +38,6 @@
#include "WinButton.hh"
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <sys/time.h>
#include <vector>

View file

@ -27,7 +27,6 @@
#include "Command.hh"
#include "ClientPattern.hh"
#include "CurrentWindowCmd.hh"
#include "FocusControl.hh"
#include "FbTk/RefCount.hh"

View file

@ -26,7 +26,6 @@
#define WORKSPACENAMETHEME_HH
#include "ToolTheme.hh"
#include "FbTk/Theme.hh"
class WorkspaceNameTheme:public ToolTheme {
public: