Changeset 42178 in vbox for trunk/src/VBox/Main/include/AutostartDb.h
- Timestamp:
- Jul 17, 2012 12:35:07 PM (12 years ago)
- File:
-
- 1 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 };
Note:
See TracChangeset
for help on using the changeset viewer.