summaryrefslogtreecommitdiffstats
path: root/tools/globalcode/utility/mayahandles.h
diff options
context:
space:
mode:
authorSvxy <aidan61605@gmail.com>2023-05-31 23:31:32 +0200
committerSvxy <aidan61605@gmail.com>2023-05-31 23:31:32 +0200
commiteb4b3404aa00220d659e532151dab13d642c17a3 (patch)
tree7e1107c4995489a26c4007e41b53ea8d00ab2134 /tools/globalcode/utility/mayahandles.h
downloadThe-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.gz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.bz2
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.lz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.xz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.zst
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.zip
Diffstat (limited to 'tools/globalcode/utility/mayahandles.h')
-rw-r--r--tools/globalcode/utility/mayahandles.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/tools/globalcode/utility/mayahandles.h b/tools/globalcode/utility/mayahandles.h
new file mode 100644
index 0000000..9e530ba
--- /dev/null
+++ b/tools/globalcode/utility/mayahandles.h
@@ -0,0 +1,42 @@
+//-----------------------------------------------------------------------------
+// Copyright (C) 2001 Radical Entertainment Ltd. All rights reserved.
+//
+// mayahandles.h
+//
+// Description: Class to store and retrieve maya handles as generic pointers.
+//
+// Modification History:
+// + Created Oct 15, 2001 -- bkusy
+//-----------------------------------------------------------------------------
+
+//----------------------------------------
+// System Includes
+//----------------------------------------
+
+//----------------------------------------
+// Project Includes
+//----------------------------------------
+
+//----------------------------------------
+// Forward References
+//----------------------------------------
+
+//----------------------------------------
+// Constants, Typedefs and Statics
+//----------------------------------------
+
+class MayaHandles
+{
+ public:
+
+ static void SetHInstance( void* hInstance );
+ static void* GetHInstance();
+
+ static void* GetHWND();
+
+ private:
+
+ static void* m_hInstance;
+ static void* m_HWND;
+};
+