Changeset 42178 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Jul 17, 2012 12:35:07 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 79176
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/AutostartDb.h
r41999 r42178 30 30 31 31 /** 32 * Sets the path to the autostart database. 33 * 34 * @returns VBox status code. 35 * @param pszAutostartDbPathNew Path to the autostart database. 36 */ 37 int setAutostartDbPath(const char *pszAutostartDbPathNew); 38 39 /** 32 40 * Add a autostart VM to the global database. 33 41 * 34 42 * @returns VBox status code. 43 * @retval VERR_PATH_NOT_FOUND if the autostart database directory is not set. 35 44 * @param pszVMId ID of the VM to add. 36 45 */ … … 41 50 * 42 51 * @returns VBox status code. 52 * @retval VERR_PATH_NOT_FOUND if the autostart database directory is not set. 43 53 * @param pszVMId ID of the VM to remove. 44 54 */ … … 49 59 * 50 60 * @returns VBox status code. 61 * @retval VERR_PATH_NOT_FOUND if the autostart database directory is not set. 51 62 * @param pszVMId ID of the VM to add. 52 63 */ … … 57 68 * 58 69 * @returns VBox status code. 70 * @retval VERR_PATH_NOT_FOUND if the autostart database directory is not set. 59 71 * @param pszVMId ID of the VM to remove. 60 72 */ … … 66 78 /** Critical section protecting the database against concurrent access. */ 67 79 RTCRITSECT CritSect; 80 /** Path to the autostart database. */ 81 char *m_pszAutostartDbPath; 82 83 /** 84 * Autostart database modification worker. 85 * 86 * @returns VBox status code. 87 * @param fAutostart Flag whether the autostart or autostop database is modified. 88 * @param fAddVM Flag whether a VM is added or removed from the database. 89 */ 90 int autostartModifyDb(bool fAutostart, bool fAddVM); 68 91 #endif 69 92 }; -
trunk/src/VBox/Main/include/SystemPropertiesImpl.h
r35761 r42178 92 92 STDMETHOD(COMSETTER(LogHistoryCount))(ULONG count); 93 93 STDMETHOD(COMGETTER(DefaultAudioDriver))(AudioDriverType_T *aAudioDriver); 94 STDMETHOD(COMGETTER(AutostartDatabasePath))(BSTR *aAutostartDbPath); 95 STDMETHOD(COMSETTER(AutostartDatabasePath))(IN_BSTR aAutostartDbPath); 94 96 95 97 STDMETHOD(GetMaxNetworkAdapters)(ChipsetType_T aChipset, ULONG *aMaxInstances); … … 124 126 HRESULT setWebServiceAuthLibrary(const Utf8Str &aPath); 125 127 HRESULT setDefaultVRDEExtPack(const Utf8Str &aPath); 128 HRESULT setAutostartDatabasePath(const Utf8Str &aPath); 126 129 127 130 VirtualBox * const mParent;
Note:
See TracChangeset
for help on using the changeset viewer.