00001 /*========================================================================= 00002 00003 Module: $RCSfile: vtkKWWidgetsVersion.h,v $ 00004 00005 Copyright (c) Kitware, Inc. 00006 All rights reserved. 00007 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00008 00009 This software is distributed WITHOUT ANY WARRANTY; without even 00010 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00011 PURPOSE. See the above copyright notice for more information. 00012 00013 =========================================================================*/ 00024 #ifndef __vtkKWWidgetsVersion_h 00025 #define __vtkKWWidgetsVersion_h 00026 00027 #include "vtkKWWidgets.h" // Needed for export symbols directives 00028 #include "vtkObject.h" 00029 00030 #define KWWidgets_SOURCE_VERSION "KWWidgets version " KWWidgets_VERSION ", KWWidgets source $Revision: 1.1211 $, $Date: 2010-02-05 07:53:59 $ (GMT)" 00031 00032 class KWWidgets_EXPORT vtkKWWidgetsVersion : public vtkObject 00033 { 00034 // @cond section_public 00035 public: 00036 static vtkKWWidgetsVersion *New(); 00037 vtkTypeRevisionMacro(vtkKWWidgetsVersion,vtkObject); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 00041 00042 static int GetKWWidgetsMajorVersion() 00043 { return KWWidgets_MAJOR_VERSION; } 00044 static int GetKWWidgetsMinorVersion() 00045 { return KWWidgets_MINOR_VERSION; } 00046 static int GetKWWidgetsPatchVersion() 00047 { return KWWidgets_PATCH_VERSION; } 00049 00051 00053 static const char *GetKWWidgetsVersion() 00054 { return KWWidgets_VERSION; } 00056 00058 00060 static const char *GetKWWidgetsSourceVersion() 00061 { return KWWidgets_SOURCE_VERSION; } 00063 00064 // @endcond 00065 // @cond section_protected 00066 protected: 00067 vtkKWWidgetsVersion() {}; 00068 ~vtkKWWidgetsVersion() {}; 00069 00070 // @endcond 00071 // @cond section_private 00072 private: 00073 vtkKWWidgetsVersion(const vtkKWWidgetsVersion&); // Not implemented. 00074 void operator=(const vtkKWWidgetsVersion&); // Not implemented. 00075 }; 00076 00077 #endif 00078 // @endcond
1.6.1