Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

version.h

00001 /*
00002   libwftk - Worldforge Toolkit - a widget library
00003   Copyright (C) 2002 Malcolm Walker <malcolm@worldforge.org>
00004   Based on code copyright  (C) 1999-2002  Karsten Laux 
00005 
00006   This library is free software; you can redistribute it and/or
00007   modify it under the terms of the GNU Library General Public
00008   License as published by the Free Software Foundation; either
00009   version 2 of the License, or (at your option) any later version.
00010   
00011   This library is distributed in the hope that it will be useful,
00012   but WITHOUT ANY WARRANTY; without even the implied warranty of
00013   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014   Library General Public License for more details.
00015   
00016   You should have received a copy of the GNU Library General Public
00017   License along with this library; if not, write to the
00018   Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00019   Boston, MA  02111-1307, USA.
00020 */
00021 // written by Karsten Laux, November 1999  
00022 
00023 #ifndef _WVERSION_H_
00024 #define _WVERSION_H_
00025 
00026 #define WFTK_MAJOR_VERSION       0
00027 #define WFTK_MINOR_VERSION       7
00028 #define WFTK_PATCHLEVEL          1     
00029 
00030 // WFTK_DISABLE_DEPRECATED get rid of stupid 'extern C',
00031 // also return a reference instead of a pointer
00032 
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif  
00036 
00040 typedef struct {
00042     unsigned char major;
00044     unsigned char minor;
00046     unsigned char patch;
00047 } wftk_version;
00048 
00049 const wftk_version* getVersion();
00050 
00051 #ifdef __cplusplus
00052 }
00053 #endif
00054 
00055 #endif

Generated Tue Apr 12 22:48:52 2005.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.