Changeset 14343 in vbox for trunk/src/VBox
- Timestamp:
- Nov 19, 2008 9:48:40 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r14313 r14343 2 2 3 3 /** @file 4 * Impl mentation of IVirtualBox in VBoxSVC.4 * Implementation of IVirtualBox in VBoxSVC. 5 5 */ 6 6 … … 1391 1391 1392 1392 /* load the settings file (we don't reuse the existing handle but 1393 * request a new one to allow for concurrent multi threaded reads) */1393 * request a new one to allow for concurrent multi-threaded reads) */ 1394 1394 File file (File::Mode_Read, Utf8Str (mData.mCfgFile.mName)); 1395 1395 XmlTreeBackend tree; … … 1489 1489 1490 1490 /* load the settings file (we don't reuse the existing handle but 1491 * request a new one to allow for concurrent multi threaded reads) */1491 * request a new one to allow for concurrent multi-threaded reads) */ 1492 1492 File file (File::Mode_Read, Utf8Str (mData.mCfgFile.mName)); 1493 1493 XmlTreeBackend tree; … … 1906 1906 * Usually gets called upon progress object initialization. 1907 1907 * 1908 * @param aProgress Peration to add to the collection.1908 * @param aProgress Operation to add to the collection. 1909 1909 * 1910 1910 * @note Doesn't lock objects. … … 1931 1931 /** 1932 1932 * Removes the progress from the global collection of pending operations. 1933 * Usual y gets called upon progress completion.1933 * Usually gets called upon progress completion. 1934 1934 * 1935 1935 * @param aId UUID of the progress operation to remove … … 1974 1974 * The user function is supposed to communicate to the helper process 1975 1975 * using the \a aClient argument to do the requested job and optionally expose 1976 * the pr gress through the \a aProgress object. The user function should never1976 * the progress through the \a aProgress object. The user function should never 1977 1977 * call notifyComplete() on it: this will be done automatically using the 1978 1978 * result code returned by the function. … … 2000 2000 * message to indicate a process termination. 2001 2001 * 2002 * @param aPrivileged |true| to start the SVC He pler process as a privlieged2002 * @param aPrivileged |true| to start the SVC Helper process as a privileged 2003 2003 * user that can perform administrative tasks 2004 2004 * @param aFunc user function to run … … 2129 2129 if (vrc2 == VERR_CANCELLED) 2130 2130 rc = setError (E_FAIL, 2131 tr ("Operati ion cancelled by the user"));2131 tr ("Operation cancelled by the user")); 2132 2132 else 2133 2133 rc = setError (E_FAIL, … … 2522 2522 * @note It can be possible that a session machine from the list has been 2523 2523 * already uninitialized, so do a usual AutoCaller/AutoReadLock sequence 2524 * when accessing unprotected data directly.2524 * when accessing unprotected data directly. 2525 2525 * 2526 2526 * @note Locks objects for reading. … … 3599 3599 /** 3600 3600 * Attempts to cast from a raw interface pointer to an underlying object. 3601 * On suc ess, @a aTo will contain the object reference. On failure, @a aTo will3601 * On success, @a aTo will contain the object reference. On failure, @a aTo will 3602 3602 * be set to @c null and an extended error info will be returned. 3603 3603 * … … 3681 3681 3682 3682 /** 3683 * Creates the path to the specified file accor ing to the path information3683 * Creates the path to the specified file according to the path information 3684 3684 * present in the file name. 3685 3685 * 3686 3686 * Note that the given file name must contain the full path otherwise the 3687 * extracted rel iative path will be created based on the current working3687 * extracted relative path will be created based on the current working 3688 3688 * directory which is normally unknown. 3689 3689 * … … 3835 3835 * if the backup file already exists. 3836 3836 * 3837 * @param aFileName Orig nal settings file name.3837 * @param aFileName Original settings file name. 3838 3838 * @param aOldFormat Version of the original format. 3839 3839 * @param aBakFileName File name of the created backup copy (only on success). … … 3899 3899 try 3900 3900 { 3901 /* re throw the current exception */3901 /* re-throw the current exception */ 3902 3902 throw; 3903 3903 } … … 3930 3930 * S_OK, but subsequent #isConfigLocked() will return FALSE. This is used 3931 3931 * in some places to determine the (valid) situation when no config file 3932 * exists yet, and therefore a new one should be created from sc atch.3932 * exists yet, and therefore a new one should be created from scratch. 3933 3933 */ 3934 3934 HRESULT VirtualBox::lockConfig() … … 3953 3953 3954 3954 /* 3955 * It is okif the file is not found, it will be created by3955 * It is OK if the file is not found, it will be created by 3956 3956 * init(). Otherwise return an error. 3957 3957 */
Note:
See TracChangeset
for help on using the changeset viewer.