include guard

This commit is contained in:
fluxgen 2002-02-17 19:00:24 +00:00
parent c66f598b64
commit 552f589c75
25 changed files with 62 additions and 62 deletions

View file

@ -35,7 +35,7 @@ tab for indent next row in if-statement like this:
funktion(); funktion();
The include guards: The include guards:
_FILENAME_HH_ FILENAME_HH
Function comments: Function comments:

View file

@ -22,10 +22,10 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: Basemenu.hh,v 1.6 2002/02/08 13:20:23 fluxgen Exp $ // $Id: Basemenu.hh,v 1.7 2002/02/17 19:00:04 fluxgen Exp $
#ifndef _BASEMENU_HH_ #ifndef BASEMENU_HH
#define _BASEMENU_HH_ #define BASEMENU_HH
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <vector> #include <vector>

View file

@ -19,8 +19,8 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
#ifndef _CLIENTMENU_HH_ #ifndef CLIENTMENU_HH
#define _CLIENTMENU_HH_ #define CLIENTMENU_HH
// forward declarations // forward declarations
class Clientmenu; class Clientmenu;

View file

@ -22,10 +22,10 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: Configmenu.hh,v 1.2 2002/01/09 14:11:20 fluxgen Exp $ // $Id: Configmenu.hh,v 1.3 2002/02/17 18:57:47 fluxgen Exp $
#ifndef _CONFIGMENU_HH_ #ifndef CONFIGMENU_HH
#define _CONFIGMENU_HH_ #define CONFIGMENU_HH
// forward declaration // forward declaration
class Configmenu; class Configmenu;

View file

@ -19,10 +19,10 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: DrawUtil.hh,v 1.2 2002/01/09 14:11:20 fluxgen Exp $ // $Id: DrawUtil.hh,v 1.3 2002/02/17 19:00:14 fluxgen Exp $
#ifndef _DRAWUTIL_HH_ #ifndef DRAWUTIL_HH
#define _DRAWUTIL_HH_ #define DRAWUTIL_HH
#include <X11/Xlib.h> #include <X11/Xlib.h>

View file

@ -19,8 +19,8 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
#ifndef _ICON_HH_ #ifndef ICON_HH
#define _ICON_HH_ #define ICON_HH
// forward declaration // forward declaration
class Iconmenu; class Iconmenu;

View file

@ -19,10 +19,10 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: IconBar.hh,v 1.5 2002/02/04 22:43:15 fluxgen Exp $ // $Id: IconBar.hh,v 1.6 2002/02/17 18:57:47 fluxgen Exp $
#ifndef _ICONBAR_HH_ #ifndef ICONBAR_HH
#define _ICONBAR_HH_ #define ICONBAR_HH
#include <vector> #include <vector>
#include "Window.hh" #include "Window.hh"

View file

@ -22,10 +22,10 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: Image.hh,v 1.4 2002/02/04 22:41:27 fluxgen Exp $ // $Id: Image.hh,v 1.5 2002/02/17 18:57:47 fluxgen Exp $
#ifndef _IMAGE_HH_ #ifndef IMAGE_HH
#define _IMAGE_HH_ #define IMAGE_HH
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xutil.h> #include <X11/Xutil.h>

View file

@ -19,10 +19,10 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: Keys.hh,v 1.5 2002/02/04 06:42:00 fluxgen Exp $ // $Id: Keys.hh,v 1.6 2002/02/17 18:57:47 fluxgen Exp $
#ifndef _KEYS_HH_ #ifndef KEYS_HH
#define _KEYS_HH_ #define KEYS_HH
#include <string> #include <string>
#include <vector> #include <vector>

View file

@ -19,8 +19,8 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
#ifndef _LINKEDLIST_HH_ #ifndef LINKEDLIST_HH
#define _LINKEDLIST_HH_ #define LINKEDLIST_HH
class __llist_node { class __llist_node {

View file

@ -19,8 +19,8 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
#ifndef _NETIZEN_HH_ #ifndef NETIZEN_HH
#define _NETIZEN_HH_ #define NETIZEN_HH
// forward declaration // forward declaration
class Netizen; class Netizen;

View file

@ -19,8 +19,8 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
#ifndef _NOTCOPYABLE_HH_ #ifndef NOTCOPYABLE_HH
#define _NOTCOPYABLE_HH_ #define NOTCOPYABLE_HH
// inherit this class to // inherit this class to
// disable assignment and copy // disable assignment and copy
class NotCopyable class NotCopyable

View file

@ -19,10 +19,10 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: Resource.hh,v 1.2 2002/01/21 02:11:49 fluxgen Exp $ // $Id: Resource.hh,v 1.3 2002/02/17 18:57:47 fluxgen Exp $
#ifndef _RESOURCE_HH_ #ifndef RESOURCE_HH
#define _RESOURCE_HH_ #define RESOURCE_HH
#include "NotCopyable.hh" #include "NotCopyable.hh"
#include <string> #include <string>

View file

@ -19,8 +19,8 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
#ifndef _ROOTMENU_HH_ #ifndef ROOTMENU_HH
#define _ROOTMENU_HH_ #define ROOTMENU_HH
// forward declarations // forward declarations
class Rootmenu; class Rootmenu;

View file

@ -19,8 +19,8 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
#ifndef _SLIT_HH_ #ifndef SLIT_HH
#define _SLIT_HH_ #define SLIT_HH
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xutil.h> #include <X11/Xutil.h>

View file

@ -19,10 +19,10 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
//$Id: StringUtil.hh,v 1.5 2002/01/21 01:56:39 fluxgen Exp $ //$Id: StringUtil.hh,v 1.6 2002/02/17 18:52:20 fluxgen Exp $
#ifndef _STRINGUTIL_HH_ #ifndef STRINGUTIL_HH
#define _STRINGUTIL_HH_ #define STRINGUTIL_HH
#include <string> #include <string>

View file

@ -19,10 +19,10 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: Tab.hh,v 1.10 2002/02/04 06:51:15 fluxgen Exp $ // $Id: Tab.hh,v 1.11 2002/02/17 18:52:02 fluxgen Exp $
#ifndef _TAB_HH_ #ifndef TAB_HH
#define _TAB_HH_ #define TAB_HH
#ifndef _IMAGE_HH_ #ifndef _IMAGE_HH_
#include "Image.hh" #include "Image.hh"

View file

@ -42,10 +42,10 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: Theme.hh,v 1.5 2002/01/08 00:14:40 fluxgen Exp $ // $Id: Theme.hh,v 1.6 2002/02/17 18:49:50 fluxgen Exp $
#ifndef _THEME_HH_ #ifndef THEME_HH
#define _THEME_HH_ #define THEME_HH
#ifndef _IMAGE_HH_ #ifndef _IMAGE_HH_

View file

@ -19,8 +19,8 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
#ifndef _TIMER_HH_ #ifndef TIMER_HH
#define _TIMER_HH_ #define TIMER_HH
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "../config.h" #include "../config.h"

View file

@ -19,10 +19,10 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: Toolbar.hh,v 1.6 2002/02/04 22:38:41 fluxgen Exp $ // $Id: Toolbar.hh,v 1.7 2002/02/17 18:49:02 fluxgen Exp $
#ifndef _TOOLBAR_HH_ #ifndef TOOLBAR_HH
#define _TOOLBAR_HH_ #define TOOLBAR_HH
#include <X11/Xlib.h> #include <X11/Xlib.h>
#ifndef _BASEMENU_HH_ #ifndef _BASEMENU_HH_

View file

@ -19,8 +19,8 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
#ifndef _WINDOWMENU_HH_ #ifndef WINDOWMENU_HH
#define _WINDOWMENU_HH_ #define WINDOWMENU_HH
// forward declaration // forward declaration
class Windowmenu; class Windowmenu;

View file

@ -19,8 +19,8 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
#ifndef _WORKSPACE_HH_ #ifndef WORKSPACE_HH
#define _WORKSPACE_HH_ #define WORKSPACE_HH
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <string> #include <string>

View file

@ -19,8 +19,8 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
#ifndef _WORKSPACEMENU_HH_ #ifndef WORKSPACEMENU_HH
#define _WORKSPACEMENU_HH_ #define WORKSPACEMENU_HH
// forward declaration // forward declaration
class Workspacemenu; class Workspacemenu;

View file

@ -19,14 +19,14 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: XrmDatabaseHelper.hh,v 1.3 2002/02/04 07:03:46 fluxgen Exp $ // $Id: XrmDatabaseHelper.hh,v 1.4 2002/02/17 18:44:07 fluxgen Exp $
// This is a helper for XrmDatabase // This is a helper for XrmDatabase
// when database goes out of scope // when database goes out of scope
// the XrmDatabase variable will be destroyed. // the XrmDatabase variable will be destroyed.
#ifndef _XRMDATABASEHELPER_HH_ #ifndef XRMDATABASEHELPER_HH
#define _XRMDATABASEHELPER_HH_ #define XRMDATABASEHELPER_HH
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xresource.h> #include <X11/Xresource.h>

View file

@ -22,10 +22,10 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: i18n.hh,v 1.4 2002/01/11 11:54:48 fluxgen Exp $ // $Id: i18n.hh,v 1.5 2002/02/17 18:41:44 fluxgen Exp $
#ifndef _I18N_HH_ #ifndef I18N_HH
#define _I18N_HH_ #define I18N_HH
#ifdef NLS #ifdef NLS
# include "../nls/blackbox-nls.hh" # include "../nls/blackbox-nls.hh"