Changeset 38437 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Aug 12, 2011 3:05:41 PM (13 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestCtrlImplPrivate.h
r38395 r38437 37 37 38 38 /** Structure representing the "value" side of a "key=value" pair. */ 39 typedef struct VBOXGUESTCTRL_STREAMPAIR 39 class VBOXGUESTCTRL_STREAMVALUE 40 40 { 41 VBOXGUESTCTRL_STREAMPAIR(const char *pszValue) 41 public: 42 43 VBOXGUESTCTRL_STREAMVALUE() { } 44 VBOXGUESTCTRL_STREAMVALUE(const char *pszValue) 42 45 : mValue(pszValue) {} 43 46 47 VBOXGUESTCTRL_STREAMVALUE(const VBOXGUESTCTRL_STREAMVALUE& aThat) 48 : mValue(aThat.mValue) {} 49 44 50 Utf8Str mValue; 45 } VBOXGUESTCTRL_STREAMPAIR, *PVBOXGUESTCTRL_STREAM_PAIR;51 }; 46 52 47 53 /** Map containing "key=value" pairs of a guest process stream. */ 48 typedef std::map< Utf8Str, VBOXGUESTCTRL_STREAMPAIR > GuestCtrlStreamPairs; 49 typedef std::map< Utf8Str, VBOXGUESTCTRL_STREAMPAIR >::iterator GuestCtrlStreamPairsIter; 50 typedef std::map< Utf8Str, VBOXGUESTCTRL_STREAMPAIR >::const_iterator GuestCtrlStreamPairsIterConst; 54 typedef std::pair< Utf8Str, VBOXGUESTCTRL_STREAMVALUE > GuestCtrlStreamPair; 55 typedef std::map < Utf8Str, VBOXGUESTCTRL_STREAMVALUE > GuestCtrlStreamPairMap; 56 typedef std::map < Utf8Str, VBOXGUESTCTRL_STREAMVALUE >::iterator GuestCtrlStreamPairMapIter; 57 typedef std::map < Utf8Str, VBOXGUESTCTRL_STREAMVALUE >::const_iterator GuestCtrlStreamPairMapIterConst; 51 58 52 59 /** … … 85 92 protected: 86 93 87 GuestCtrlStreamPair sm_mapPairs;94 GuestCtrlStreamPairMap m_mapPairs; 88 95 }; 89 96 90 97 /** Vector containing multiple allocated stream pair objects. */ 91 typedef std::vector< GuestProcessStreamBlock *> GuestCtrlStreamObjects;92 typedef std::vector< GuestProcessStreamBlock *>::iterator GuestCtrlStreamObjectsIter;93 typedef std::vector< GuestProcessStreamBlock *>::const_iterator GuestCtrlStreamObjectsIterConst;98 typedef std::vector< GuestProcessStreamBlock > GuestCtrlStreamObjects; 99 typedef std::vector< GuestProcessStreamBlock >::iterator GuestCtrlStreamObjectsIter; 100 typedef std::vector< GuestProcessStreamBlock >::const_iterator GuestCtrlStreamObjectsIterConst; 94 101 95 102 /** … … 132 139 }; 133 140 134 structGuestTask141 class GuestTask 135 142 { 143 144 public: 145 136 146 enum TaskType 137 147 { -
trunk/src/VBox/Main/include/GuestImpl.h
r38400 r38437 159 159 ULONG aTimeoutMS, ULONG *aPID, IProgress **aProgress, int *pRC); 160 160 HRESULT executeProcessResult(const char *pszCommand, const char *pszUser, ULONG ulTimeout, PCALLBACKDATAEXECSTATUS pExecStatus, ULONG *puPID); 161 HRESULT executeStreamQueryFsObjInfo(IN_BSTR aObjName,GuestProcessStreamBlock *pStreamBlock, PRTFSOBJINFO pObjInfo, RTFSOBJATTRADD enmAddAttribs);161 HRESULT executeStreamQueryFsObjInfo(IN_BSTR aObjName,GuestProcessStreamBlock &streamBlock, PRTFSOBJINFO pObjInfo, RTFSOBJATTRADD enmAddAttribs); 162 162 int executeStreamDrain(ULONG aPID, GuestProcessStream &stream); 163 163 void executeStreamFree(GuestCtrlStreamObjects &streamObjects);
Note:
See TracChangeset
for help on using the changeset viewer.