H3D API  2.4.1
LibraryInfo.h
Go to the documentation of this file.
1 // Copyright 2004-2019, SenseGraphics AB
3 //
4 // This file is part of H3D API.
5 //
6 // H3D API is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 2 of the License, or
9 // (at your option) any later version.
10 //
11 // H3D API is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with H3D API; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 //
20 // A commercial license is also available. Please contact us at
21 // www.sensegraphics.com for more information.
22 //
23 //
26 //
28 #ifndef __H3D_LIBRARY_INFO_H__
29 #define __H3D_LIBRARY_INFO_H__
30 
31 #include <H3D/H3DApi.h>
32 
33 namespace H3D {
39  struct LibraryInfo {
40  static inline LibraryInfo createEmptyInfo() {
41  LibraryInfo l;
42  l.name[0] = '\0';
43  l.version[0] = '\0';
44  l.web[0] = '\0';
45  l.developer[0] = '\0';
46  l.developer_web[0] = '\0';
47  l.info[0] = '\0';
48  return l;
49  }
50 
52  char name[256];
54  char version[256];
56  char web[256];
58  char developer[256];
60  char developer_web[256];
62  char info[4096];
63  };
64 
65 
66 
67 
68 }
69 
70 #endif
Base header file that handles all configuration related settings.
H3D API namespace.
Definition: Anchor.h:38
Structure to contain information about a shared library of extra nodes outside.
Definition: LibraryInfo.h:39
char web[256]
Web address with information about the library.
Definition: LibraryInfo.h:56
char version[256]
The version of the library.
Definition: LibraryInfo.h:54
char info[4096]
Description of the library.
Definition: LibraryInfo.h:62
char name[256]
The name of the library.
Definition: LibraryInfo.h:52
char developer[256]
The developer of the library.
Definition: LibraryInfo.h:58
char developer_web[256]
Web address to the developer.
Definition: LibraryInfo.h:60