VirtualBox

Changeset 82481 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Dec 7, 2019 1:05:01 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
135333
Message:

VBoxClipboardSvc: Moved the saved state version defines from the public service header and into the service implementation where it ough to be. Also, s/_SSM_/_SAVED_STATE_/ so the things make sense (the saved state manage doesn't have a version, only an $Id$ at the top of the file), and s/_VER_LATEST/_VER_CURRENT to conform with the rest of VBox. Explained why bit 31 is set in the version number as the code related to this was apparently jettisoned recently. bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/VBoxClipboardSvc.h

    r81796 r82481  
    3434 *     VBox < 6.1, deprecated:
    3535 *         | First, initial implementation since feature was developed.
    36  *           Has no protocol handshake / versioning support, the client's
    37  *           waiting message also acted as retrieving the parameters from
    38  *           the host (always and only *exactly* two parameters). Does
    39  *           not have the ability to control / handle parallel transfers.
     36 *           Has no protocol handshake or support for feature exchange,
     37 *           the client's waiting message also acted as retrieving the
     38 *           parameters from the host (always and only *exactly* two
     39 *           parameters). Does not have the ability to control / handle parallel
     40 *           transfers.
    4041 *
    4142 *     VBox >= 6.1:
     
    6162#include <VBox/GuestHost/SharedClipboard-transfers.h>
    6263#endif
    63 
    64 /*
    65  * The saved state versions.
    66  * We're using it as a version field with the high bit set.
    67  */
    68 /** Adds the client's POD state and client state flags. */
    69 #define VBOX_SHCL_SSM_VER_2          UINT32_C(0x80000004)
    70 /** New saved state (since VBox 6.1 Beta 2). */
    71 #define VBOX_SHCL_SSM_VER_1          UINT32_C(0x80000003)
    72 /** Older saved states (VBox < 6.1). Includes legacy protocol state. */
    73 #define VBOX_SHCL_SSM_VER_0          UINT32_C(0x80000002)
    74 
    75 /** Latest Shared Clipboard SSM version. */
    76 #define VBOX_SHCL_SSM_VER_LATEST     VBOX_SHCL_SSM_VER_2
    7764
    7865/*
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette