VirtualBox

Changeset 47848 in vbox for trunk/include


Ignore:
Timestamp:
Aug 19, 2013 4:34:02 PM (11 years ago)
Author:
vboxsync
Message:

Main: API event for multitouch input.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/array.h

    r45125 r47848  
    12411241}
    12421242
     1243
     1244template<>
     1245inline void com::SafeArray<SHORT>::initFrom(const com::SafeArray<SHORT> & aRef)
     1246{
     1247    size_t sSize = aRef.size();
     1248    resize(sSize);
     1249    ::memcpy(raw(), aRef.raw(), sSize * sizeof(SHORT));
     1250}
     1251template<>
     1252inline void com::SafeArray<SHORT>::initFrom(const SHORT* aPtr, size_t aSize)
     1253{
     1254    resize(aSize);
     1255    ::memcpy(raw(), aPtr, aSize * sizeof(SHORT));
     1256}
     1257
     1258template<>
     1259inline void com::SafeArray<USHORT>::initFrom(const com::SafeArray<USHORT> & aRef)
     1260{
     1261    size_t sSize = aRef.size();
     1262    resize(sSize);
     1263    ::memcpy(raw(), aRef.raw(), sSize * sizeof(USHORT));
     1264}
     1265template<>
     1266inline void com::SafeArray<USHORT>::initFrom(const USHORT* aPtr, size_t aSize)
     1267{
     1268    resize(aSize);
     1269    ::memcpy(raw(), aPtr, aSize * sizeof(USHORT));
     1270}
    12431271
    12441272template<>
  • trunk/include/VBox/log.h

    r47376 r47848  
    334334    /** Main group, IGuestMouseEvent. */
    335335    LOG_GROUP_MAIN_GUESTMOUSEEVENT,
     336    /** Main group, IGuestMultiTouchEvent. */
     337    LOG_GROUP_MAIN_GUESTMULTITOUCHEVENT,
    336338    /** Main group, IGuestOSType. */
    337339    LOG_GROUP_MAIN_GUESTOSTYPE,
     
    816818    "MAIN_GUESTMONITORCHANGEDEVENT", \
    817819    "MAIN_GUESTMOUSEEVENT", \
     820    "MAIN_GUESTMULTITOUCHEVENT", \
    818821    "MAIN_GUESTOSTYPE", \
    819822    "MAIN_GUESTPROCESS", \
Note: See TracChangeset for help on using the changeset viewer.

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