Changeset 43002 in vbox for trunk/src/VBox
- Timestamp:
- Aug 27, 2012 3:47:19 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 80335
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestSessionImpl.h
r42948 r43002 177 177 { 178 178 mProcInfo.mCommand = strDest; 179 mProcInfo.mName = strDest; 179 if (mProcInfo.mName.isEmpty()) 180 mProcInfo.mName = strDest; 180 181 } 181 182 … … 194 195 Utf8Str const &strFileSource, const Utf8Str &strFileDest, 195 196 bool fOptional, uint32_t *pcbSize); 196 int runFile (GuestSession *pSession, GuestProcessStartupInfo &procInfo);197 int runFileOnGuest(GuestSession *pSession, GuestProcessStartupInfo &procInfo); 197 198 198 199 /** Files to handle. */ -
trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
r43001 r43002 923 923 Utf8StrFmt(GuestSession::tr("Guest Additions were not ready within time, giving up"))); 924 924 925 eOSType eOSType;925 eOSType osType; 926 926 if (RT_SUCCESS(rc)) 927 927 { … … 951 951 || strOSType.contains("Windows", Utf8Str::CaseInsensitive)) 952 952 { 953 eOSType = eOSType_Windows;953 osType = eOSType_Windows; 954 954 } 955 955 else if (strOSType.contains("Solaris", Utf8Str::CaseInsensitive)) 956 956 { 957 eOSType = eOSType_Solaris;957 osType = eOSType_Solaris; 958 958 } 959 959 else /* Everything else hopefully means Linux :-). */ 960 eOSType = eOSType_Linux;960 osType = eOSType_Linux; 961 961 962 962 #if 1 /* Only Windows is supported (and tested) at the moment. */ 963 if ( eOSType != eOSType_Windows)963 if (osType != eOSType_Windows) 964 964 { 965 965 hr = setProgressErrorMsg(VBOX_E_NOT_SUPPORTED, … … 989 989 /* Set default installation directories. */ 990 990 Utf8Str strUpdateDir = "/tmp/"; 991 if ( eOSType == eOSType_Windows)991 if (osType == eOSType_Windows) 992 992 strUpdateDir = "C:\\Temp\\"; 993 993 … … 1020 1020 if (RT_SUCCESS(rc)) 1021 1021 { 1022 if ( eOSType == eOSType_Windows)1022 if (osType == eOSType_Windows) 1023 1023 { 1024 1024 strUpdateDir.findReplace('/', '\\'); … … 1049 1049 /* Prepare the file(s) we want to copy over to the guest and 1050 1050 * (maybe) want to run. */ 1051 switch ( eOSType)1051 switch (osType) 1052 1052 { 1053 1053 case eOSType_Windows: … … 1142 1142 break; 1143 1143 default: 1144 AssertReleaseMsgFailed(("Unsupported guest type: %d\n", eOSType));1144 AssertReleaseMsgFailed(("Unsupported guest type: %d\n", osType)); 1145 1145 break; 1146 1146 }
Note:
See TracChangeset
for help on using the changeset viewer.