summaryrefslogtreecommitdiff
path: root/public/unicode/unicode.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /public/unicode/unicode.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'public/unicode/unicode.h')
-rw-r--r--public/unicode/unicode.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/public/unicode/unicode.h b/public/unicode/unicode.h
new file mode 100644
index 0000000..7c3522e
--- /dev/null
+++ b/public/unicode/unicode.h
@@ -0,0 +1,68 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef UNICODE_H
+#define UNICODE_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "interface.h"
+
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN
+#endif
+
+#if !defined( _X360 )
+#include <windows.h>
+#endif
+#if defined( _X360 )
+#include "xbox/xbox_win32stubs.h"
+#endif
+
+class IUnicodeWindows : public IBaseInterface
+{
+public:
+ virtual LRESULT DefWindowProcW
+ (
+ HWND hWnd,
+ UINT Msg,
+ WPARAM wParam,
+ LPARAM lParam
+ ) = 0;
+
+ virtual HWND CreateWindowExW
+ (
+ DWORD dwExStyle,
+ LPCWSTR lpClassName,
+ LPCWSTR lpWindowName,
+ DWORD dwStyle,
+ int x,
+ int y,
+ int nWidth,
+ int nHeight,
+ HWND hWndParent,
+ HMENU hMenu,
+ HINSTANCE hInstance,
+ LPVOID lpParam
+ ) = 0;
+
+ virtual ATOM RegisterClassW
+ (
+ CONST WNDCLASSW *lpWndClass
+ ) = 0;
+
+ virtual BOOL UnregisterClassW
+ (
+ LPCWSTR lpClassName,
+ HINSTANCE hInstance
+ ) = 0;
+};
+
+#define VENGINE_UNICODEINTERFACE_VERSION "VENGINEUNICODE001"
+
+
+#endif // UNICODE_H