VirtualBox

Changeset 49574 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Nov 20, 2013 10:10:26 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
90770
Message:

FE/Qt: fix UISession compilation with VBOX_GUI_WITH_KEYS_RESET_HANDLER

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp

    r49506 r49574  
    7777#include "CSnapshot.h"
    7878#include "CMedium.h"
     79
     80#ifdef VBOX_GUI_WITH_KEYS_RESET_HANDLER
     81static void signalHandlerSIGUSR1(int sig, siginfo_t *, void *);
     82#endif
    7983
    8084#ifdef Q_WS_MAC
     
    16791683 */
    16801684/* static */
    1681 void UISession::signalHandlerSIGUSR1(int sig, siginfo_t * /* pInfo */, void * /*pSecret */)
     1685static void signalHandlerSIGUSR1(int sig, siginfo_t * /* pInfo */, void * /*pSecret */)
    16821686{
    16831687    /* only SIGUSR1 is interesting */
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.h

    r49506 r49574  
    3333class QMenu;
    3434class QMenuBar;
    35 #ifdef VBOX_GUI_WITH_KEYS_RESET_HANDLER
    36 # ifdef Q_WS_MAC
    37 struct __siginfo;
    38 typedef struct __siginfo siginfo_t;
    39 # else /* Q_WS_MAC */
    40 struct siginfo;
    41 typedef struct siginfo siginfo_t;
    42 # endif /* !Q_WS_MAC */
    43 #endif /* VBOX_GUI_WITH_KEYS_RESET_HANDLER */
    4435class UIFrameBuffer;
    4536class UIMachine;
     
    305296#endif /* Q_WS_MAC */
    306297
    307 #ifdef VBOX_GUI_WITH_KEYS_RESET_HANDLER
    308     static void signalHandlerSIGUSR1(int sig, siginfo_t *pInfo, void *pSecret);
    309 #endif /* VBOX_GUI_WITH_KEYS_RESET_HANDLER */
    310 
    311298    /* Private variables: */
    312299    UIMachine *m_pMachine;
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