all repos — fluxbox @ 93c402846372b6cb532ec07f0563dc26b91596e6

custom fork of the fluxbox windowmanager

Fixed redudant include guards and named enum
fluxgen fluxgen
commit

93c402846372b6cb532ec07f0563dc26b91596e6

parent

b07fd39e663e2e0b32ef8633041678e36dcf596f

1 files changed, 11 insertions(+), 5 deletions(-)

jump to
M src/Toolbar.hhsrc/Toolbar.hh

@@ -19,18 +19,24 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. +// $Id: Toolbar.hh,v 1.4 2002/01/20 02:11:51 fluxgen Exp $ + #ifndef _TOOLBAR_HH_ #define _TOOLBAR_HH_ #include <X11/Xlib.h> - - - - +#ifndef _BASEMENU_HH_ #include "Basemenu.hh" +#endif +#ifndef _LINKEDLIST_HH_ #include "LinkedList.hh" +#endif +#ifndef _TIMER_HH_ #include "Timer.hh" +#endif +#ifndef _ICONBAR_HH_ #include "IconBar.hh" +#endif // forward declaration

@@ -156,7 +162,7 @@ #endif // HAVE_STRFTIME

virtual void timeout(void); - enum { TOPLEFT = 1, BOTTOMLEFT, TOPCENTER, + enum Placement{ TOPLEFT = 1, BOTTOMLEFT, TOPCENTER, BOTTOMCENTER, TOPRIGHT, BOTTOMRIGHT }; };