<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>OpenSceneGraph: osgText/Version File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div class="navpath"> <ul> <li><a class="el" href="dir_d768373e44db4038d9e04b0c1ba737de.html">osgText</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <h1>Version File Reference</h1> </div> </div> <div class="contents"> <code>#include <<a class="el" href="a01167.html">osgText/Export</a>></code><br/> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">OSGTEXT_EXPORT const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01301.html#adbd3328f3fd5d043adb243eca0a827ec">osgTextGetVersion</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="a01301.html#adbd3328f3fd5d043adb243eca0a827ec" title="osgTextGetVersion() returns the library version number.">osgTextGetVersion()</a> returns the library version number. <a href="#adbd3328f3fd5d043adb243eca0a827ec"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">OSGTEXT_EXPORT const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01301.html#a2d2fabdd7745e4cc4a019828d6bac9a1">osgTextGetLibraryName</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="a01301.html#a2d2fabdd7745e4cc4a019828d6bac9a1" title="osgTextGetLibraryName() returns the library name in human friendly form.">osgTextGetLibraryName()</a> returns the library name in human friendly form. <a href="#a2d2fabdd7745e4cc4a019828d6bac9a1"></a><br/></td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a2d2fabdd7745e4cc4a019828d6bac9a1"></a><!-- doxytag: member="Version::osgTextGetLibraryName" ref="a2d2fabdd7745e4cc4a019828d6bac9a1" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OSGTEXT_EXPORT const char* osgTextGetLibraryName </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p><a class="el" href="a01301.html#a2d2fabdd7745e4cc4a019828d6bac9a1" title="osgTextGetLibraryName() returns the library name in human friendly form.">osgTextGetLibraryName()</a> returns the library name in human friendly form. </p> </div> </div> <a class="anchor" id="adbd3328f3fd5d043adb243eca0a827ec"></a><!-- doxytag: member="Version::osgTextGetVersion" ref="adbd3328f3fd5d043adb243eca0a827ec" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">OSGTEXT_EXPORT const char* osgTextGetVersion </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p><a class="el" href="a01301.html#adbd3328f3fd5d043adb243eca0a827ec" title="osgTextGetVersion() returns the library version number.">osgTextGetVersion()</a> returns the library version number. </p> <p>Numbering convention : OpenSceneGraph-1.0 will return 1.0 from osgTextGetVersion.</p> <p>This C function can be also used to check for the existence of the OpenSceneGraph library using autoconf and its m4 macro AC_CHECK_LIB.</p> <p>Here is the code to add to your configure.in: </p> <div class="fragment"><pre class="fragment"> # # Check for the OpenSceneGraph (OSG) Text library # AC_CHECK_LIB(osg, osgTextGetVersion, , [AC_MSG_ERROR(OpenSceneGraph Text library not found. See http://www.openscenegraph.org)],) </pre></div> </div> </div> </div> <hr> <table border="0"><tr><td> <img src="osg32-32.png" alt="osg logo" /> </td><td> <address><small>Generated at Thu Aug 19 2010 16:22:41 for the <a href="http://www.openscenegraph.org/">OpenSceneGraph</a> by <a href="http://www.doxygen.org">doxygen</a> 1.7.1.</small></address> <!-- Dimitri van Heesch's e-mail address removed, lest he get messages on the OpenSceneGraph --> </td></tr></table> </body> </html>