src/ncwm.h

Go to the documentation of this file.
00001 // Copyright (c) 2003 - 2004 Anselm R. Garbe <anselmg at t-online.de>
00002 // See ../LICENSE.txt for license details.
00003 //
00004 // $Id: wmi.h 2 2007-05-16 10:38:27Z eg $
00005 
00006 #ifndef __NCWM_H
00007 #define __NCWM_H
00008 
00009 #include "../config.h"
00010 
00011 #define LOGERROR(X, Y) Logger::instance()->error(X, Y)
00012 #define LOGWARN(X) Logger::instance()->warning(X)
00013 #define CONFPATH "/etc/ncwm"
00014 #define KERNEL Kernel::instance()
00015 #define XCORE XCore::instance()
00016 
00017 #ifdef DEBUG
00018 #define LOGDEBUG(X) Logger::instance()->debug(X)
00019 #else
00020 #define LOGDEBUG(X)
00021 #endif
00022 
00023 enum Direction {LEFT, RIGHT, UP, DOWN, NORTH_WEST,
00024                 NORTH_EAST, SOUTH_WEST, SOUTH_EAST};
00025 
00026 // we use only std namespace
00027 using namespace std;
00028 
00029 // Motif bits - see Motif reference manual for further information.
00030 #define MWM_HINTS_FUNCTIONS     (1L << 0)
00031 #define MWM_HINTS_DECORATIONS   (1L << 1)
00032 #define MWM_HINTS_INPUT_MODE    (1L << 2)
00033 #define MWM_HINTS_STATUS        (1L << 3)
00034 
00035 #define MWM_DECOR_ALL           (1L << 0)
00036 #define MWM_DECOR_BORDER        (1L << 1)
00037 #define MWM_DECOR_RESIZEH       (1L << 2)
00038 #define MWM_DECOR_TITLE         (1L << 3)
00039 #define MWM_DECOR_MENU          (1L << 4)
00040 #define MWM_DECOR_MINIMIZE      (1L << 5)
00041 #define MWM_DECOR_MAXIMIZE      (1L << 6)
00042 
00043 #define MINIMAL_BARHEIGHT       13
00044 #endif // __NCWM_H

Generated on Thu May 24 15:19:32 2007 for ncwm by  doxygen 1.5.1