VirtualBox

Changeset 53557 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 17, 2014 12:24:00 AM (10 years ago)
Author:
vboxsync
Message:

renderspu_cocoa_helper.m: Cleaned out unused RCD code (callbacks via renderspuCalloutClient).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.m

    r53556 r53557  
    407407
    408408
    409 #if 0
    410 /** Callback function pointer type for VBoxTaskCallback. */
    411 typedef DECLCALLBACKPTR(void, PFNVBOXTASKCALLBACK)(void *pvUser);
    412 
    413 /**
    414  * Generic task class for executing a given C callback with a single parameter.
    415  */
    416 @interface VBoxTaskCallback: VBoxTask
    417 {
    418 @private
    419     PFNVBOXTASKCALLBACK m_pfnCallback;
    420     void *m_pvUser;
    421 }
    422 - (id)initWithCb:(PFNVBOXTASKCALLBACK)pfnCb arg:(void *)pvUser;
    423 - (void)run;
    424 @end
    425 #endif
    426 
    427 
    428409/**
    429410 *
     
    14491430}
    14501431
    1451 #if 0 /* unused */
    1452 typedef struct CR_RCD_SETPOS
    1453 {
    1454     OverlayView *pView;
    1455     NSPoint pos;
    1456 } CR_RCD_SETPOS;
    1457 
    1458 static DECLCALLBACK(void) vboxRcdSetPos(void *pvCb)
    1459 {
    1460     DEBUG_FUNC_ENTER();
    1461 
    1462     CR_RCD_SETPOS *pPos = (CR_RCD_SETPOS*)pvCb;
    1463     [pPos->pView vboxSetPosUI:pPos->pos];
    1464 
    1465     DEBUG_FUNC_LEAVE();
    1466 }
    1467 #endif
    1468 
    14691432- (void)vboxSetPos:(NSPoint)pos
    14701433{
     
    15611524    DEBUG_FUNC_LEAVE();
    15621525}
    1563 
    1564 #if 0 /* unused */
    1565 typedef struct CR_RCD_SETSIZE
    1566 {
    1567     OverlayView *pView;
    1568     NSSize size;
    1569 } CR_RCD_SETSIZE;
    1570 
    1571 static DECLCALLBACK(void) vboxRcdSetSize(void *pvCb)
    1572 {
    1573     DEBUG_FUNC_ENTER();
    1574     CR_RCD_SETSIZE * pSetSize = (CR_RCD_SETSIZE*)pvCb;
    1575     [pSetSize->pView vboxSetSizeUI:pSetSize->size];
    1576     DEBUG_FUNC_LEAVE();
    1577 }
    1578 #endif
    15791526
    15801527- (void)vboxSetSize:(NSSize)size
     
    18611808}
    18621809
    1863 #if 0 /* unused */
    1864 typedef struct CR_RCD_SETVISIBLE
    1865 {
    1866     OverlayView *pView;
    1867     BOOL fVisible;
    1868 } CR_RCD_SETVISIBLE;
    1869 
    1870 static DECLCALLBACK(void) vboxRcdSetVisible(void *pvCb)
    1871 {
    1872     DEBUG_FUNC_ENTER();
    1873     CR_RCD_SETVISIBLE * pVisible = (CR_RCD_SETVISIBLE*)pvCb;
    1874    
    1875     [pVisible->pView vboxSetVisibleUI:pVisible->fVisible];
    1876     DEBUG_FUNC_LEAVE();
    1877 }
    1878 #endif
    1879 
    18801810- (void)vboxSetVisible:(GLboolean)fVisible
    18811811{
     
    19031833    DEBUG_FUNC_LEAVE();
    19041834}
    1905 
    1906 #if 0 /* unused */
    1907 typedef struct CR_RCD_REPARENT
    1908 {
    1909     OverlayView *pView;
    1910     NSView *pParent;
    1911 } CR_RCD_REPARENT;
    1912 
    1913 static DECLCALLBACK(void) vboxRcdReparent(void *pvCb)
    1914 {
    1915     DEBUG_FUNC_ENTER();
    1916     CR_RCD_REPARENT * pReparent = (CR_RCD_REPARENT*)pvCb;
    1917     [pReparent->pView vboxReparentUI:pReparent->pParent];
    1918     DEBUG_FUNC_LEAVE();
    1919 }
    1920 #endif
    19211835
    19221836- (void)vboxReparent:(NSView *)pParentView
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