• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdecore
 

tdecore

  • tdecore
tdeversion.h
1/* This file is part of the KDE libraries
2 Copyright (c) 2002-2005 KDE Team
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
18*/
19
20#ifndef _TDE_VERSION_H_
21#define _TDE_VERSION_H_
22
23#include "tdelibs_export.h"
24
25/*
26 R <ABI VERSION> . <FEATURE REVISION> . <BUG AND SECURITY PATCH LEVEL>
27 Initial release is always R<ABI VERSION>.0.0.
28 BUG AND SECURITY PATCH LEVEL is always updated with a point release.
29 FEATURE REVISION is updated when new features are introduced or existing
30 features are significantly updated.
31 A FEATURE REVISION release does NOT include ABI changes.
32 A new FEATURE REVISION level always resets the BUG AND SECURITY PATCHLEVEL.
33 A new ABI version resets both the FEATURE REVISION and BUG AND SECURITY PATCH LEVEL.
34*/
35#define TDE_VERSION_STRING "R14.2.0~[DEVELOPMENT]"
36#define TDE_VERSION_MAJOR 14
37#define TDE_VERSION_MINOR 2
38#define TDE_VERSION_RELEASE 0
39#define TDE_MAKE_VERSION( a,b,c ) (((a) << 16) | ((b) << 8) | (c))
40
41#define TDE_VERSION \
42 TDE_MAKE_VERSION(TDE_VERSION_MAJOR,TDE_VERSION_MINOR,TDE_VERSION_RELEASE)
43
44#define KDE_IS_VERSION(a,b,c) ( TDE_VERSION >= TDE_MAKE_VERSION(a,b,c) )
45
49namespace KDE
50{
59 TDECORE_EXPORT unsigned int version();
66 TDECORE_EXPORT unsigned int versionMajor();
73 TDECORE_EXPORT unsigned int versionMinor();
80 TDECORE_EXPORT unsigned int versionRelease();
86 TDECORE_EXPORT const char *versionString();
87}
88
89#endif // _TDE_VERSION_H_
KDE
Namespace for general KDE functions.
Definition: ktypelist.h:350
KDE::versionMinor
unsigned int versionMinor()
Returns the minor number of KDE's version, e.g.
Definition: tdeversion.cpp:32
KDE::versionMajor
unsigned int versionMajor()
Returns the major number of KDE's version, e.g.
Definition: tdeversion.cpp:27
KDE::version
unsigned int version()
Returns the encoded number of KDE's version, see the TDE_VERSION macro.
Definition: tdeversion.cpp:22
KDE::versionRelease
unsigned int versionRelease()
Returns the release of KDE's version, e.g.
Definition: tdeversion.cpp:37
KDE::versionString
const char * versionString()
Returns the KDE version as string, e.g.
Definition: tdeversion.cpp:42

tdecore

Skip menu "tdecore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdecore

Skip menu "tdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdecore by doxygen 1.9.4
This website is maintained by Timothy Pearson.