VirtualBox

Ignore:
Timestamp:
Feb 10, 2023 3:10:50 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155802
Message:

Guest Control: Initial commit (work in progress, disabled by default). bugref:9783

IGuestDirectory:

Added new attributes id + status + an own event source. Also added for rewind support via rewind().

New event types for guest directory [un]registration, state changes and entry reads.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/GuestProcessImpl.h

    r98272 r98526  
    229229 *       This class has to be kept to guarantee backwards-compatibility.
    230230 */
    231 class GuestProcessTool
     231class GuestProcessToolbox
    232232{
    233233public:
    234234    DECLARE_TRANSLATE_METHODS(GuestProcessTool)
    235235
    236     GuestProcessTool(void);
    237 
    238     virtual ~GuestProcessTool(void);
     236    GuestProcessToolbox(void);
     237
     238    virtual ~GuestProcessToolbox(void);
    239239
    240240public:
     
    244244    void uninit(void);
    245245
    246     int getCurrentBlock(uint32_t uHandle, GuestProcessStreamBlock &strmBlock);
     246    int getCurrentBlock(uint32_t uHandle, GuestToolboxStreamBlock &strmBlock);
    247247
    248248    int getRc(void) const;
    249249
    250250    /** Returns the stdout output from the guest process tool. */
    251     GuestProcessStream &getStdOut(void) { return mStdOut; }
     251    GuestToolboxStream &getStdOut(void) { return mStdOut; }
    252252
    253253    /** Returns the stderr output from the guest process tool. */
    254     GuestProcessStream &getStdErr(void) { return mStdErr; }
     254    GuestToolboxStream &getStdErr(void) { return mStdErr; }
    255255
    256256    int wait(uint32_t fToolWaitFlags, int *pvrcGuest);
    257257
    258     int waitEx(uint32_t fToolWaitFlags, GuestProcessStreamBlock *pStreamBlock, int *pvrcGuest);
     258    int waitEx(uint32_t fToolWaitFlags, GuestToolboxStreamBlock *pStreamBlock, int *pvrcGuest);
    259259
    260260    bool isRunning(void);
     
    302302    GuestProcessStartupInfo     mStartupInfo;
    303303    /** Stream object for handling the toolbox' stdout data. */
    304     GuestProcessStream          mStdOut;
     304    GuestToolboxStream          mStdOut;
    305305    /** Stream object for handling the toolbox' stderr data. */
    306     GuestProcessStream          mStdErr;
     306    GuestToolboxStream          mStdErr;
    307307};
    308308
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