Changeset 53557 in vbox for trunk/src/VBox
- Timestamp:
- Dec 17, 2014 12:24:00 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.m
r53556 r53557 407 407 408 408 409 #if 0410 /** 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: VBoxTask417 {418 @private419 PFNVBOXTASKCALLBACK m_pfnCallback;420 void *m_pvUser;421 }422 - (id)initWithCb:(PFNVBOXTASKCALLBACK)pfnCb arg:(void *)pvUser;423 - (void)run;424 @end425 #endif426 427 428 409 /** 429 410 * … … 1449 1430 } 1450 1431 1451 #if 0 /* unused */1452 typedef struct CR_RCD_SETPOS1453 {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 #endif1468 1469 1432 - (void)vboxSetPos:(NSPoint)pos 1470 1433 { … … 1561 1524 DEBUG_FUNC_LEAVE(); 1562 1525 } 1563 1564 #if 0 /* unused */1565 typedef struct CR_RCD_SETSIZE1566 {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 #endif1579 1526 1580 1527 - (void)vboxSetSize:(NSSize)size … … 1861 1808 } 1862 1809 1863 #if 0 /* unused */1864 typedef struct CR_RCD_SETVISIBLE1865 {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 #endif1879 1880 1810 - (void)vboxSetVisible:(GLboolean)fVisible 1881 1811 { … … 1903 1833 DEBUG_FUNC_LEAVE(); 1904 1834 } 1905 1906 #if 0 /* unused */1907 typedef struct CR_RCD_REPARENT1908 {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 #endif1921 1835 1922 1836 - (void)vboxReparent:(NSView *)pParentView
Note:
See TracChangeset
for help on using the changeset viewer.