VirtualBox

Changeset 71272 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Mar 8, 2018 12:26:36 PM (7 years ago)
Author:
vboxsync
Message:

Guest Control: Renaming, formatting.

File:
1 edited

Legend:

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

    r71263 r71272  
    8787    int i_prepareExecuteEnv(const char *pszEnv, void **ppvList, ULONG *pcbList, ULONG *pcEnvVars);
    8888    int i_setProcessStatus(ProcessStatus_T procStatus, int procRc);
    89     static void i_startProcessThreadTask(GuestProcessStartTask *pTask);
     89    static int i_startProcessThreadTask(GuestProcessStartTask *pTask);
    9090    /** @}  */
    9191
     
    213213public:
    214214
    215     int Init(GuestSession *pGuestSession, const GuestProcessStartupInfo &startupInfo, bool fAsync, int *pGuestRc);
    216 
    217     int i_getCurrentBlock(uint32_t uHandle, GuestProcessStreamBlock &strmBlock);
    218 
    219     int i_getRc(void) const;
    220 
    221     GuestProcessStream &i_getStdOut(void) { return mStdOut; }
    222 
    223     GuestProcessStream &i_getStdErr(void) { return mStdErr; }
    224 
    225     int i_wait(uint32_t fFlags, int *pGuestRc);
    226 
    227     int i_waitEx(uint32_t fFlags, GuestProcessStreamBlock *pStreamBlock, int *pGuestRc);
    228 
    229     bool i_isRunning(void);
    230 
    231     int i_terminatedOk(int32_t *piExitCode = NULL);
    232 
    233     int i_terminate(uint32_t uTimeoutMS, int *pGuestRc);
    234 
    235 public:
    236 
    237     static int i_run(GuestSession *pGuestSession, const GuestProcessStartupInfo &startupInfo, int *pGuestRc);
    238 
    239     static int i_runErrorInfo(GuestSession *pGuestSession, const GuestProcessStartupInfo &startupInfo, GuestProcessToolErrorInfo &errorInfo);
    240 
    241     static int i_runEx(GuestSession *pGuestSession, const GuestProcessStartupInfo &startupInfo,
    242                        GuestCtrlStreamObjects *pStrmOutObjects, uint32_t cStrmOutObjects, int *pGuestRc);
    243 
    244     static int i_runExErrorInfo(GuestSession *pGuestSession, const GuestProcessStartupInfo &startupInfo,
    245                                 GuestCtrlStreamObjects *pStrmOutObjects, uint32_t cStrmOutObjects, GuestProcessToolErrorInfo &errorInfo);
    246 
    247     static int i_exitCodeToRc(const GuestProcessStartupInfo &startupInfo, int32_t iExitCode);
    248 
    249     static int i_exitCodeToRc(const char *pszTool, int32_t iExitCode);
     215    int init(GuestSession *pGuestSession, const GuestProcessStartupInfo &startupInfo, bool fAsync, int *pGuestRc);
     216
     217    int getCurrentBlock(uint32_t uHandle, GuestProcessStreamBlock &strmBlock);
     218
     219    int getRc(void) const;
     220
     221    GuestProcessStream &getStdOut(void) { return mStdOut; }
     222
     223    GuestProcessStream &getStdErr(void) { return mStdErr; }
     224
     225    int wait(uint32_t fFlags, int *pGuestRc);
     226
     227    int waitEx(uint32_t fFlags, GuestProcessStreamBlock *pStreamBlock, int *pGuestRc);
     228
     229    bool isRunning(void);
     230
     231    int terminatedOk(int32_t *piExitCode = NULL);
     232
     233    int terminate(uint32_t uTimeoutMS, int *pGuestRc);
     234
     235public:
     236
     237    static int run(GuestSession *pGuestSession, const GuestProcessStartupInfo &startupInfo, int *pGuestRc);
     238
     239    static int runErrorInfo(GuestSession *pGuestSession, const GuestProcessStartupInfo &startupInfo, GuestProcessToolErrorInfo &errorInfo);
     240
     241    static int runEx(GuestSession *pGuestSession, const GuestProcessStartupInfo &startupInfo,
     242                     GuestCtrlStreamObjects *pStrmOutObjects, uint32_t cStrmOutObjects, int *pGuestRc);
     243
     244    static int runExErrorInfo(GuestSession *pGuestSession, const GuestProcessStartupInfo &startupInfo,
     245                              GuestCtrlStreamObjects *pStrmOutObjects, uint32_t cStrmOutObjects, GuestProcessToolErrorInfo &errorInfo);
     246
     247    static int exitCodeToRc(const GuestProcessStartupInfo &startupInfo, int32_t iExitCode);
     248
     249    static int exitCodeToRc(const char *pszTool, int32_t iExitCode);
    250250
    251251protected:
     
    256256    GuestProcessStream          mStdOut;
    257257    GuestProcessStream          mStdErr;
    258 
    259258};
    260259
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