diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2012-05-02 13:39:04 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2012-05-03 13:09:53 +0300 |
commit | a267a4b31516a2347ec2c8413e3f59dcdbd1363a (patch) | |
tree | 174e250f274217f1e06c1934591e80d027ef264b /server/tests/test_display_base.h | |
parent | bccf5bc35a7b96d523b0537be133f0ada8cffa36 (diff) | |
download | spice-a267a4b31516a2347ec2c8413e3f59dcdbd1363a.tar.gz spice-a267a4b31516a2347ec2c8413e3f59dcdbd1363a.tar.xz spice-a267a4b31516a2347ec2c8413e3f59dcdbd1363a.zip |
server/tests: add SLEEP command to test_display_base
Diffstat (limited to 'server/tests/test_display_base.h')
-rw-r--r-- | server/tests/test_display_base.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/tests/test_display_base.h b/server/tests/test_display_base.h index 1421c1cc..b2221a2c 100644 --- a/server/tests/test_display_base.h +++ b/server/tests/test_display_base.h @@ -24,6 +24,7 @@ typedef enum { SIMPLE_UPDATE, DESTROY_PRIMARY, CREATE_PRIMARY, + SLEEP } CommandType; typedef struct CommandCreatePrimary { @@ -45,6 +46,10 @@ typedef struct CommandDrawSolid { uint32_t surface_id; } CommandDrawSolid; +typedef struct CommandSleep { + uint32_t secs; +} CommandSleep; + typedef struct Command Command; struct Command { @@ -55,6 +60,7 @@ struct Command { CommandCreatePrimary create_primary; CommandDrawBitmap bitmap; CommandDrawSolid solid; + CommandSleep sleep; }; }; |