VirtualBox

Changeset 52064 in vbox for trunk/src/VBox/Main/testcase


Ignore:
Timestamp:
Jul 16, 2014 9:23:55 PM (11 years ago)
Author:
vboxsync
Message:

Main: IDisplay converted to use API wrappers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstMouseImpl.cpp

    r51616 r52064  
    55
    66/*
    7  * Copyright (C) 2011-2013 Oracle Corporation
     7 * Copyright (C) 2011-2014 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    4040class TestDisplay : public DisplayMouseInterface
    4141{
    42     void getFramebufferDimensions(int32_t *px1, int32_t *py1,
    43                                   int32_t *px2, int32_t *py2);
    44     int getScreenResolution(uint32_t cScreen, ULONG *pcx, ULONG *pcy,
    45                             ULONG *pcBPP, LONG *pXOrigin, LONG *pYOrigin);
     42    virtual HRESULT i_getScreenResolution(ULONG cScreen, ULONG *pcx, ULONG *pcy,
     43                                          ULONG *pcBPP, LONG *pXOrigin, LONG *pYOrigin);
     44    virtual void i_getFramebufferDimensions(int32_t *px1, int32_t *py1,
     45                                            int32_t *px2, int32_t *py2);
    4646};
    4747
     
    233233}
    234234
    235 void TestDisplay::getFramebufferDimensions(int32_t *px1, int32_t *py1,
    236                                            int32_t *px2, int32_t *py2)
     235void TestDisplay::i_getFramebufferDimensions(int32_t *px1, int32_t *py1,
     236                                             int32_t *px2, int32_t *py2)
    237237{
    238238    if (px1)
     
    246246}
    247247
    248 int TestDisplay::getScreenResolution(uint32_t cScreen, ULONG *pcx,
    249                                      ULONG *pcy, ULONG *pcBPP, LONG *pXOrigin, LONG *pYOrigin)
     248HRESULT TestDisplay::i_getScreenResolution(ULONG cScreen, ULONG *pcx,
     249                                           ULONG *pcy, ULONG *pcBPP, LONG *pXOrigin, LONG *pYOrigin)
    250250{
    251251    NOREF(cScreen);
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