VirtualBox

Ignore:
Timestamp:
Jul 31, 2009 6:01:58 PM (15 years ago)
Author:
vboxsync
Message:

Additions/x11: rename VBoxClient --autoresize to VBoxClient --display in preparation for making it handle mouse cursor switches too

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/display.cpp

    r21912 r21922  
    11/* $Id$ */
    22/** @file
    3  * X11 guest client - display auto-resize.
     3 * X11 guest client - display management.
    44 */
    55
     
    3838#include "VBoxClient.h"
    3939
    40 static int initAutoResize()
     40static int initDisplay()
    4141{
    4242    int rc = VINF_SUCCESS;
     
    6262}
    6363
    64 void cleanupAutoResize(void)
     64void cleanupDisplay(void)
    6565{
    6666    LogFlowFunc(("\n"));
     
    8787 * stale.
    8888 */
    89 int runAutoResize()
     89int runDisplay()
    9090{
    9191    LogFlowFunc(("\n"));
     
    125125}
    126126
    127 class AutoResizeService : public VBoxClient::Service
     127class DisplayService : public VBoxClient::Service
    128128{
    129129public:
    130130    virtual const char *getPidFilePath()
    131131    {
    132         return ".vboxclient-autoresize.pid";
     132        return ".vboxclient-display.pid";
    133133    }
    134134    virtual int run()
    135135    {
    136         int rc = initAutoResize();
     136        int rc = initDisplay();
    137137        if (RT_SUCCESS(rc))
    138             rc = runAutoResize();
     138            rc = runDisplay();
    139139        return rc;
    140140    }
    141141    virtual void cleanup()
    142142    {
    143         cleanupAutoResize();
     143        cleanupDisplay();
    144144    }
    145145};
    146146
    147 VBoxClient::Service *VBoxClient::GetAutoResizeService()
     147VBoxClient::Service *VBoxClient::GetDisplayService()
    148148{
    149     return new AutoResizeService;
     149    return new DisplayService;
    150150}
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