]> git.proxmox.com Git - spiceterm.git/blobdiff - test_display_base.h
correct set bg color, try to use g_alloc/g_free
[spiceterm.git] / test_display_base.h
index 3c568134d1ea54faa5a29e3514e5cf81b495f2bc..fbabff38c3c90832c871056e0bbba3f2b4a0905e 100644 (file)
@@ -89,12 +89,13 @@ struct Test {
     QXLInstance qxl_instance;
     QXLWorker *qxl_worker;
 
+    SpiceKbdInstance keyboard_sin;
+
     uint8_t primary_surface[MAX_HEIGHT * MAX_WIDTH * 4];
     int primary_height;
     int primary_width;
 
-    SpiceTimer *wakeup_timer;
-    int wakeup_ms;
+    SpiceTimer *conn_timeout_timer;
 
     int cursor_notify;
 
@@ -121,7 +122,7 @@ void test_set_simple_command_list(Test *test, int *command, int num_commands);
 void test_set_command_list(Test *test, Command *command, int num_commands);
 void test_add_display_interface(Test *test);
 void test_add_agent_interface(SpiceServer *server); // TODO - Test *test
-void test_add_keyboard_interface(SpiceServer *server);
+void test_add_keyboard_interface(Test *test);
 Test* test_new(SpiceCoreInterface* core);
 
 uint32_t test_get_width(void);