diff options
author | Yaniv Kamay <ykamay@redhat.com> | 2009-12-28 01:15:08 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2009-12-28 12:38:58 +0200 |
commit | 68fb44012982897ea883b336c56d0e8c12ddce0d (patch) | |
tree | 209556db04762b5f5f7581af4f51970f04e8d836 /client/windows | |
parent | 659be313a43fc741ed9decd95178efbeedf2c4fd (diff) | |
download | spice-68fb44012982897ea883b336c56d0e8c12ddce0d.tar.gz spice-68fb44012982897ea883b336c56d0e8c12ddce0d.tar.xz spice-68fb44012982897ea883b336c56d0e8c12ddce0d.zip |
client: add GUI infrastructure + functional login dialog
Diffstat (limited to 'client/windows')
-rw-r--r-- | client/windows/platform.cpp | 5 | ||||
-rw-r--r-- | client/windows/redc.vcproj | 16 |
2 files changed, 21 insertions, 0 deletions
diff --git a/client/windows/platform.cpp b/client/windows/platform.cpp index 6d5deba5..11f13266 100644 --- a/client/windows/platform.cpp +++ b/client/windows/platform.cpp @@ -218,6 +218,11 @@ uint64_t Platform::get_thread_id() return GetCurrentThreadId(); } +void Platform::error_beep() +{ + MessageBeep(MB_ICONERROR); +} + class WinMonitor: public Monitor { public: WinMonitor(int id, const wchar_t* name, const wchar_t* string); diff --git a/client/windows/redc.vcproj b/client/windows/redc.vcproj index 2741ae57..2f97d378 100644 --- a/client/windows/redc.vcproj +++ b/client/windows/redc.vcproj @@ -241,6 +241,10 @@ >
</File>
<File
+ RelativePath="..\gui\gui.cpp"
+ >
+ </File>
+ <File
RelativePath="..\hot_keys.cpp"
>
</File>
@@ -371,6 +375,10 @@ >
</File>
<File
+ RelativePath="..\gui\resource_provider.cpp"
+ >
+ </File>
+ <File
RelativePath="..\rop3.cpp"
>
</File>
@@ -481,6 +489,10 @@ >
</File>
<File
+ RelativePath="..\gui\gui.h"
+ >
+ </File>
+ <File
RelativePath="..\hot_keys.h"
>
</File>
@@ -569,6 +581,10 @@ >
</File>
<File
+ RelativePath="..\gui\resource_provider.h"
+ >
+ </File>
+ <File
RelativePath="..\screen.h"
>
</File>
|