AGX Dynamics  2.37.2.0
win32Tools.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2024. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or having been
9 advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10 valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 #ifndef AGXIO_WIN32_TOOLS_H
18 #define AGXIO_WIN32_TOOLS_H
19 
20 #include <agx/config.h>
21 
22 
23 #ifdef STANDALONE_RUNTIME
24 #include <agx/agxCore_export.h>
25 
27 namespace agx
28 {
29  typedef std::string String;
30 }
32 #else
33 #include <agx/String.h>
34 #endif
35 #if defined(_MSC_VER)
36 #include <agx/Windows.h>
37 #endif
38 
39 
40 
41 namespace agxIO
42 {
49  AGXCORE_EXPORT bool getRegisterValue( const char *key, agx::String& value );
50 
51 #if defined(_MSC_VER)
52 
60  AGXCORE_EXPORT bool getRegisterValue(HKEY parentKey, const char* path, const char* key, agx::String& value);
61 
70  AGXCORE_EXPORT bool setRegisterValue(HKEY parentKey, const char* path, const char* key, agx::String& value);
71 
79  AGXCORE_EXPORT bool deleteRegistryKey(HKEY parentKey, const char* path, const char* key);
80 
88  AGXCORE_EXPORT bool deleteRegistryTree(HKEY parentKey, const char* path);
89 #endif
90 }
91 #endif
92 
The agxIO namespace contains classes for reading, writing and finding files.
Definition: Material.h:41
AGXCORE_EXPORT bool getRegisterValue(const char *key, agx::String &value)
Get a string value from the registry written by the Installer.
AgXString< std::string > String
Definition: String.h:427
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
#define DOXYGEN_END_INTERNAL_BLOCK()
Definition: Object.h:98
#define AGXCORE_EXPORT
#define DOXYGEN_START_INTERNAL_BLOCK()
Definition: Object.h:97