Changeset 59145 in vbox for trunk/src/VBox/Additions/common/VBoxService
- Timestamp:
- Dec 16, 2015 8:47:41 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp
r59135 r59145 48 48 { 49 49 VBOXSERVICESESSIONOPT_FIRST = 1000, /* For initialization. */ 50 VBOXSERVICESESSIONOPT_DOMAIN, 50 51 #ifdef DEBUG 51 52 VBOXSERVICESESSIONOPT_DUMP_STDOUT, … … 2116 2117 static const RTGETOPTDEF s_aOptions[] = 2117 2118 { 2119 { "--domain", VBOXSERVICESESSIONOPT_DOMAIN, RTGETOPT_REQ_STRING }, 2118 2120 #ifdef DEBUG 2119 2121 { "--dump-stdout", VBOXSERVICESESSIONOPT_DUMP_STDOUT, RTGETOPT_REQ_NOTHING }, … … 2148 2150 switch (ch) 2149 2151 { 2152 case VBOXSERVICESESSIONOPT_DOMAIN: 2153 /* Information not needed right now, skip. */ 2154 break; 2155 #ifdef DEBUG 2156 case VBOXSERVICESESSIONOPT_DUMP_STDOUT: 2157 fSession |= VBOXSERVICECTRLSESSION_FLAG_DUMPSTDOUT; 2158 break; 2159 2160 case VBOXSERVICESESSIONOPT_DUMP_STDERR: 2161 fSession |= VBOXSERVICECTRLSESSION_FLAG_DUMPSTDERR; 2162 break; 2163 #endif 2164 case VBOXSERVICESESSIONOPT_SESSION_ID: 2165 g_Session.StartupInfo.uSessionID = ValueUnion.u32; 2166 break; 2167 2168 case VBOXSERVICESESSIONOPT_SESSION_PROTO: 2169 g_Session.StartupInfo.uProtocol = ValueUnion.u32; 2170 break; 2171 #ifdef DEBUG 2172 case VBOXSERVICESESSIONOPT_THREAD_ID: 2173 /* Not handled. Mainly for processs listing. */ 2174 break; 2175 #endif 2150 2176 case VBOXSERVICESESSIONOPT_LOG_FILE: 2151 2177 { … … 2155 2181 break; 2156 2182 } 2157 #ifdef DEBUG 2158 case VBOXSERVICESESSIONOPT_DUMP_STDOUT: 2159 fSession |= VBOXSERVICECTRLSESSION_FLAG_DUMPSTDOUT; 2160 break; 2161 2162 case VBOXSERVICESESSIONOPT_DUMP_STDERR: 2163 fSession |= VBOXSERVICECTRLSESSION_FLAG_DUMPSTDERR; 2164 break; 2165 #endif 2183 2166 2184 case VBOXSERVICESESSIONOPT_USERNAME: 2167 2185 /* Information not needed right now, skip. */ 2168 2186 break; 2169 2187 2170 case VBOXSERVICESESSIONOPT_SESSION_ID:2171 g_Session.StartupInfo.uSessionID = ValueUnion.u32;2172 break;2173 2174 case VBOXSERVICESESSIONOPT_SESSION_PROTO:2175 g_Session.StartupInfo.uProtocol = ValueUnion.u32;2176 break;2177 2178 #ifdef DEBUG2179 case VBOXSERVICESESSIONOPT_THREAD_ID:2180 /* Not handled. Mainly for processs listing. */2181 break;2182 #endif2183 2188 /** @todo Implement help? */ 2184 2189
Note:
See TracChangeset
for help on using the changeset viewer.