Make Juliet a dynamic library.
Added some dllexport (JULIET_API) to make the code compile. A lot are missing but will be added when needed
This commit is contained in:
1 parent
915858c0d3
commit
2b82952f62
11 files changed
+734
-351
No files matched your search
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <Juliet.h>
|
||||
#include <Core/Common/CoreTypes.h>
|
||||
#include <core/Common/NonNullPtr.h>
|
||||
|
||||
@@ -8,11 +9,11 @@ namespace Juliet
|
||||
struct Window;
|
||||
|
||||
using WindowID = uint8;
|
||||
extern Window* CreatePlatformWindow(const char* title, uint16 width, uint16 height, int flags = 0 /* unused */);
|
||||
extern void DestroyPlatformWindow(NonNullPtr<Window> window);
|
||||
extern JULIET_API Window* CreatePlatformWindow(const char* title, uint16 width, uint16 height, int flags = 0 /* unused */);
|
||||
extern JULIET_API void DestroyPlatformWindow(NonNullPtr<Window> window);
|
||||
|
||||
extern void ShowWindow(NonNullPtr<Window> window);
|
||||
extern void HideWindow(NonNullPtr<Window> window);
|
||||
extern JULIET_API void ShowWindow(NonNullPtr<Window> window);
|
||||
extern JULIET_API void HideWindow(NonNullPtr<Window> window);
|
||||
|
||||
extern WindowID GetWindowID(NonNullPtr<Window> window);
|
||||
extern JULIET_API WindowID GetWindowID(NonNullPtr<Window> window);
|
||||
} // namespace Juliet
|
||||
Reference in new issue
Block a user