Changeset 31698 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Aug 16, 2010 3:00:05 PM (14 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.h
r29922 r31698 2048 2048 2049 2049 #endif /* #ifndef __VBoxFBOverlay_h__ */ 2050 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp
r29219 r31698 46 46 { 47 47 AssertMsg(m_pMachineView, ("UIMachineView must not be null\n")); 48 m_ uWinId = (m_pMachineView && m_pMachineView->viewport()) ? (ULONG64)m_pMachineView->viewport()->winId() : 0;48 m_WinId = (m_pMachineView && m_pMachineView->viewport()) ? (LONG64)m_pMachineView->viewport()->winId() : 0; 49 49 int rc = RTCritSectInit(&m_critSect); 50 50 AssertRC(rc); … … 129 129 } 130 130 131 STDMETHODIMP UIFrameBuffer::COMGETTER(WinId) ( ULONG64 *puWinId)132 { 133 if (!p uWinId)134 return E_POINTER; 135 *p uWinId = m_uWinId;131 STDMETHODIMP UIFrameBuffer::COMGETTER(WinId) (LONG64 *pWinId) 132 { 133 if (!pWinId) 134 return E_POINTER; 135 *pWinId = m_WinId; 136 136 return S_OK; 137 137 } … … 248 248 { 249 249 m_pMachineView = pView; 250 m_ uWinId = (m_pMachineView && m_pMachineView->viewport()) ? (ULONG64)m_pMachineView->viewport()->winId() : 0;250 m_WinId = (m_pMachineView && m_pMachineView->viewport()) ? (LONG64)m_pMachineView->viewport()->winId() : 0; 251 251 } 252 252 #endif 253 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.h
r30753 r31698 156 156 STDMETHOD(COMGETTER(HeightReduction)) (ULONG *puHeightReduction); 157 157 STDMETHOD(COMGETTER(Overlay)) (IFramebufferOverlay **ppOverlay); 158 STDMETHOD(COMGETTER(WinId)) ( ULONG64 *pWinId);158 STDMETHOD(COMGETTER(WinId)) (LONG64 *pWinId); 159 159 160 160 STDMETHOD(Lock)(); … … 239 239 int m_height; 240 240 QSize m_scaledSize; 241 uint64_t m_uWinId;241 int64_t m_WinId; 242 242 bool m_fIsDeleted; 243 243 … … 250 250 251 251 #endif // !___UIFrameBuffer_h___ 252 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp
r29734 r31698 280 280 281 281 QString strFlags, strCount; 282 ULONG64 uTimestamp;283 machine.GetGuestProperty("/VirtualBox/GuestInfo/Net/Count", strCount, uTimestamp, strFlags);284 bool fPropsValid = (u64Now - uTimestamp < UINT64_C(60000000000)); /* timeout beacon */282 LONG64 iTimestamp; 283 machine.GetGuestProperty("/VirtualBox/GuestInfo/Net/Count", strCount, iTimestamp, strFlags); 284 bool fPropsValid = (u64Now - iTimestamp < UINT64_C(60000000000)); /* timeout beacon */ 285 285 286 286 QStringList ipList, macList; … … 729 729 730 730 #include "UIIndicatorsPool.moc" 731 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.h
r31341 r31698 231 231 232 232 #endif // !___UIMachineView_h___ 233
Note:
See TracChangeset
for help on using the changeset viewer.