VirtualBox

source: vbox/trunk/src/VBox/Main/include/VirtualBoxImpl.h@ 94720

Last change on this file since 94720 was 94720, checked in by vboxsync, 3 years ago

Main: Implement loading and unloading of the cryptographic support module from the extension pack, bugref:9955

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 20.9 KB
Line 
1/* $Id: VirtualBoxImpl.h 94720 2022-04-27 12:58:00Z vboxsync $ */
2/** @file
3 * VirtualBox COM class implementation
4 */
5
6/*
7 * Copyright (C) 2006-2022 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef MAIN_INCLUDED_VirtualBoxImpl_h
19#define MAIN_INCLUDED_VirtualBoxImpl_h
20#ifndef RT_WITHOUT_PRAGMA_ONCE
21# pragma once
22#endif
23
24#include <VBox/VBoxCryptoIf.h>
25
26#include "VirtualBoxBase.h"
27#include "objectslist.h"
28#include "VirtualBoxWrap.h"
29
30#ifdef RT_OS_WINDOWS
31# include "win/resource.h"
32#endif
33
34//#ifdef DEBUG_bird
35//# define VBOXSVC_WITH_CLIENT_WATCHER
36//#endif
37
38namespace com
39{
40 class Event;
41 class EventQueue;
42}
43
44class SessionMachine;
45class GuestOSType;
46class Progress;
47class Host;
48class SystemProperties;
49class DHCPServer;
50class PerformanceCollector;
51class CloudProviderManager;
52#ifdef VBOX_WITH_EXTPACK
53class ExtPackManager;
54#endif
55class AutostartDb;
56class NATNetwork;
57#ifdef VBOX_WITH_CLOUD_NET
58class CloudNetwork;
59#endif /* VBOX_WITH_CLOUD_NET */
60
61
62typedef std::list<ComObjPtr<SessionMachine> > SessionMachinesList;
63
64#ifdef RT_OS_WINDOWS
65class SVCHlpClient;
66#endif
67
68namespace settings
69{
70 class MainConfigFile;
71 struct MediaRegistry;
72}
73
74
75#if defined(VBOX_WITH_SDS) && !defined(VBOX_WITH_XPCOM)
76class VirtualBoxClassFactory; /* See ../src-server/win/svcmain.cpp */
77#endif
78
79class ATL_NO_VTABLE VirtualBox :
80 public VirtualBoxWrap
81#ifdef RT_OS_WINDOWS
82 , public ATL::CComCoClass<VirtualBox, &CLSID_VirtualBox>
83#endif
84{
85
86public:
87
88 typedef std::list<ComPtr<IInternalSessionControl> > InternalControlList;
89 typedef ObjectsList<Machine> MachinesOList;
90
91#if 0 /* obsoleted by AsyncEvent */
92 class CallbackEvent;
93 friend class CallbackEvent;
94#endif
95 class AsyncEvent;
96 friend class AsyncEvent;
97
98#ifndef VBOX_WITH_XPCOM
99# ifdef VBOX_WITH_SDS
100 DECLARE_CLASSFACTORY_EX(VirtualBoxClassFactory)
101# else
102 DECLARE_CLASSFACTORY_SINGLETON(VirtualBox)
103# endif
104#endif
105
106 // Do not use any ATL registry support.
107 //DECLARE_REGISTRY_RESOURCEID(IDR_VIRTUALBOX)
108
109 // Kind of redundant (VirtualBoxWrap declares itself not aggregatable and
110 // CComCoClass<VirtualBox, &CLSID_VirtualBox> as aggregatable, the former
111 // is the first inheritance), but the C++ multiple inheritance rules and
112 // the class factory in svcmain.cpp needs this to disambiguate.
113 DECLARE_NOT_AGGREGATABLE(VirtualBox)
114
115 // to postpone generation of the default ctor/dtor
116 DECLARE_COMMON_CLASS_METHODS(VirtualBox)
117
118 HRESULT FinalConstruct();
119 void FinalRelease();
120
121 // public initializer/uninitializer for internal purposes only
122 HRESULT init();
123 HRESULT initMachines();
124 HRESULT initMedia(const Guid &uuidMachineRegistry,
125 const settings::MediaRegistry &mediaRegistry,
126 const Utf8Str &strMachineFolder);
127 void uninit();
128
129 // public methods only for internal purposes
130
131 /**
132 * Override of the default locking class to be used for validating lock
133 * order with the standard member lock handle.
134 */
135 virtual VBoxLockingClass getLockingClass() const
136 {
137 return LOCKCLASS_VIRTUALBOXOBJECT;
138 }
139
140#ifdef DEBUG
141 void i_dumpAllBackRefs();
142#endif
143
144 HRESULT i_postEvent(Event *event);
145
146 HRESULT i_addProgress(IProgress *aProgress);
147 HRESULT i_removeProgress(IN_GUID aId);
148
149#ifdef RT_OS_WINDOWS
150 typedef DECLCALLBACKPTR(HRESULT, SVCHelperClientFunc,(SVCHlpClient *aClient, Progress *aProgress, void *aUser, int *aVrc));
151 HRESULT i_startSVCHelperClient(bool aPrivileged,
152 SVCHelperClientFunc aFunc,
153 void *aUser, Progress *aProgress);
154#endif
155
156 void i_addProcessToReap(RTPROCESS pid);
157 void i_updateClientWatcher();
158
159 int i_loadVDPlugin(const char *pszPluginLibrary);
160 int i_unloadVDPlugin(const char *pszPluginLibrary);
161
162 void i_onMediumRegistered(const Guid &aMediumId, const DeviceType_T aDevType, BOOL aRegistered);
163 void i_onMediumConfigChanged(IMedium *aMedium);
164 void i_onMediumChanged(IMediumAttachment* aMediumAttachment);
165 void i_onStorageControllerChanged(const Guid &aMachineId, const com::Utf8Str &aControllerName);
166 void i_onStorageDeviceChanged(IMediumAttachment* aStorageDevice, BOOL fRemoved, BOOL fSilent);
167 void i_onMachineStateChanged(const Guid &aId, MachineState_T aState);
168 void i_onMachineDataChanged(const Guid &aId, BOOL aTemporary = FALSE);
169 BOOL i_onExtraDataCanChange(const Guid &aId, const Utf8Str &aKey, const Utf8Str &aValue, Bstr &aError);
170 void i_onExtraDataChanged(const Guid &aId, const Utf8Str &aKey, const Utf8Str &aValue);
171 void i_onMachineRegistered(const Guid &aId, BOOL aRegistered);
172 void i_onSessionStateChanged(const Guid &aId, SessionState_T aState);
173
174 void i_onSnapshotTaken(const Guid &aMachineId, const Guid &aSnapshotId);
175 void i_onSnapshotDeleted(const Guid &aMachineId, const Guid &aSnapshotId);
176 void i_onSnapshotRestored(const Guid &aMachineId, const Guid &aSnapshotId);
177 void i_onSnapshotChanged(const Guid &aMachineId, const Guid &aSnapshotId);
178
179 void i_onGuestPropertyChanged(const Guid &aMachineId, const Utf8Str &aName, const Utf8Str &aValue, const Utf8Str &aFlags,
180 const BOOL fWasDeleted);
181 void i_onNatRedirectChanged(const Guid &aMachineId, ULONG ulSlot, bool fRemove, const Utf8Str &aName,
182 NATProtocol_T aProto, const Utf8Str &aHostIp, uint16_t aHostPort,
183 const Utf8Str &aGuestIp, uint16_t aGuestPort);
184 void i_onNATNetworkChanged(const Utf8Str &aNetworkName);
185 void i_onNATNetworkStartStop(const Utf8Str &aNetworkName, BOOL aStart);
186 void i_onNATNetworkSetting(const Utf8Str &aNetworkName, BOOL aEnabled, const Utf8Str &aNetwork,
187 const Utf8Str &aGateway, BOOL aAdvertiseDefaultIpv6RouteEnabled,
188 BOOL fNeedDhcpServer);
189 void i_onNATNetworkPortForward(const Utf8Str &aNetworkName, BOOL create, BOOL fIpv6,
190 const Utf8Str &aRuleName, NATProtocol_T proto,
191 const Utf8Str &aHostIp, LONG aHostPort,
192 const Utf8Str &aGuestIp, LONG aGuestPort);
193 void i_onHostNameResolutionConfigurationChange();
194
195 int i_natNetworkRefInc(const Utf8Str &aNetworkName);
196 int i_natNetworkRefDec(const Utf8Str &aNetworkName);
197
198 RWLockHandle *i_getNatNetLock() const;
199 bool i_isNatNetStarted(const Utf8Str &aNetworkName) const;
200
201 void i_onCloudProviderListChanged(BOOL aRegistered);
202 void i_onCloudProviderRegistered(const Utf8Str &aProviderId, BOOL aRegistered);
203 void i_onCloudProviderUninstall(const Utf8Str &aProviderId);
204
205 void i_onProgressCreated(const Guid &aId, BOOL aCreated);
206
207 void i_onLanguageChanged(const Utf8Str &aLanguageId);
208
209#ifdef VBOX_WITH_CLOUD_NET
210 HRESULT i_findCloudNetworkByName(const com::Utf8Str &aNetworkName,
211 ComObjPtr<CloudNetwork> *aNetwork = NULL);
212 HRESULT i_getEventSource(ComPtr<IEventSource>& aSource);
213#endif /* VBOX_WITH_CLOUD_NET */
214
215 ComObjPtr<GuestOSType> i_getUnknownOSType();
216
217 void i_getOpenedMachines(SessionMachinesList &aMachines,
218 InternalControlList *aControls = NULL);
219 MachinesOList &i_getMachinesList();
220
221 HRESULT i_findMachine(const Guid &aId,
222 bool fPermitInaccessible,
223 bool aSetError,
224 ComObjPtr<Machine> *aMachine = NULL);
225
226 HRESULT i_findMachineByName(const Utf8Str &aName,
227 bool aSetError,
228 ComObjPtr<Machine> *aMachine = NULL);
229
230 HRESULT i_validateMachineGroup(const com::Utf8Str &aGroup, bool fPrimary);
231 HRESULT i_convertMachineGroups(const std::vector<com::Utf8Str> aMachineGroups, StringsList *pllMachineGroups);
232
233 HRESULT i_findHardDiskById(const Guid &id,
234 bool aSetError,
235 ComObjPtr<Medium> *aHardDisk = NULL);
236 HRESULT i_findHardDiskByLocation(const Utf8Str &strLocation,
237 bool aSetError,
238 ComObjPtr<Medium> *aHardDisk = NULL);
239 HRESULT i_findDVDOrFloppyImage(DeviceType_T mediumType,
240 const Guid *aId,
241 const Utf8Str &aLocation,
242 bool aSetError,
243 ComObjPtr<Medium> *aImage = NULL);
244 HRESULT i_findRemoveableMedium(DeviceType_T mediumType,
245 const Guid &uuid,
246 bool fRefresh,
247 bool aSetError,
248 ComObjPtr<Medium> &pMedium);
249
250 HRESULT i_findGuestOSType(const Utf8Str &strOSType,
251 ComObjPtr<GuestOSType> &guestOSType);
252
253 const Guid &i_getGlobalRegistryId() const;
254
255 const ComObjPtr<Host> &i_host() const;
256 SystemProperties *i_getSystemProperties() const;
257 CloudProviderManager *i_getCloudProviderManager() const;
258#ifdef VBOX_WITH_EXTPACK
259 ExtPackManager *i_getExtPackManager() const;
260#endif
261#ifdef VBOX_WITH_RESOURCE_USAGE_API
262 const ComObjPtr<PerformanceCollector> &i_performanceCollector() const;
263#endif /* VBOX_WITH_RESOURCE_USAGE_API */
264
265 void i_getDefaultMachineFolder(Utf8Str &str) const;
266 void i_getDefaultHardDiskFormat(Utf8Str &str) const;
267
268 /** Returns the VirtualBox home directory */
269 const Utf8Str &i_homeDir() const;
270 int i_calculateFullPath(const Utf8Str &strPath, Utf8Str &aResult);
271 void i_copyPathRelativeToConfig(const Utf8Str &strSource, Utf8Str &strTarget);
272 HRESULT i_registerMedium(const ComObjPtr<Medium> &pMedium, ComObjPtr<Medium> *ppMedium,
273 AutoWriteLock &mediaTreeLock, bool fCalledFromMediumInit = false);
274 HRESULT i_unregisterMedium(Medium *pMedium);
275 HRESULT i_unregisterMachineMedia(const Guid &id);
276 HRESULT i_unregisterMachine(Machine *pMachine, CleanupMode_T aCleanupMode, const Guid &id);
277 void i_rememberMachineNameChangeForMedia(const Utf8Str &strOldConfigDir,
278 const Utf8Str &strNewConfigDir);
279 void i_saveMediaRegistry(settings::MediaRegistry &mediaRegistry,
280 const Guid &uuidRegistry,
281 const Utf8Str &strMachineFolder);
282 HRESULT i_saveSettings();
283 void i_markRegistryModified(const Guid &uuid);
284 void i_unmarkRegistryModified(const Guid &uuid);
285 void i_saveModifiedRegistries();
286 static const com::Utf8Str &i_getVersionNormalized();
287 static HRESULT i_ensureFilePathExists(const Utf8Str &strFileName, bool fCreate);
288 const Utf8Str& i_settingsFilePath();
289 AutostartDb* i_getAutostartDb() const;
290 RWLockHandle& i_getMachinesListLockHandle();
291 RWLockHandle& i_getMediaTreeLockHandle();
292 int i_encryptSetting(const Utf8Str &aPlaintext, Utf8Str *aCiphertext);
293 int i_decryptSetting(Utf8Str *aPlaintext, const Utf8Str &aCiphertext);
294 void i_storeSettingsKey(const Utf8Str &aKey);
295 bool i_isMediaUuidInUse(const Guid &aId, DeviceType_T deviceType);
296 HRESULT i_retainCryptoIf(PCVBOXCRYPTOIF *ppCryptoIf);
297 HRESULT i_releaseCryptoIf(PCVBOXCRYPTOIF pCryptoIf);
298 HRESULT i_unloadCryptoIfModule(void);
299
300
301
302private:
303 class ClientWatcher;
304
305 // wrapped IVirtualBox properties
306 HRESULT getVersion(com::Utf8Str &aVersion);
307 HRESULT getVersionNormalized(com::Utf8Str &aVersionNormalized);
308 HRESULT getRevision(ULONG *aRevision);
309 HRESULT getPackageType(com::Utf8Str &aPackageType);
310 HRESULT getAPIVersion(com::Utf8Str &aAPIVersion);
311 HRESULT getAPIRevision(LONG64 *aAPIRevision);
312 HRESULT getHomeFolder(com::Utf8Str &aHomeFolder);
313 HRESULT getSettingsFilePath(com::Utf8Str &aSettingsFilePath);
314 HRESULT getHost(ComPtr<IHost> &aHost);
315 HRESULT getSystemProperties(ComPtr<ISystemProperties> &aSystemProperties);
316 HRESULT getMachines(std::vector<ComPtr<IMachine> > &aMachines);
317 HRESULT getMachineGroups(std::vector<com::Utf8Str> &aMachineGroups);
318 HRESULT getHardDisks(std::vector<ComPtr<IMedium> > &aHardDisks);
319 HRESULT getDVDImages(std::vector<ComPtr<IMedium> > &aDVDImages);
320 HRESULT getFloppyImages(std::vector<ComPtr<IMedium> > &aFloppyImages);
321 HRESULT getProgressOperations(std::vector<ComPtr<IProgress> > &aProgressOperations);
322 HRESULT getGuestOSTypes(std::vector<ComPtr<IGuestOSType> > &aGuestOSTypes);
323 HRESULT getSharedFolders(std::vector<ComPtr<ISharedFolder> > &aSharedFolders);
324 HRESULT getPerformanceCollector(ComPtr<IPerformanceCollector> &aPerformanceCollector);
325 HRESULT getDHCPServers(std::vector<ComPtr<IDHCPServer> > &aDHCPServers);
326 HRESULT getNATNetworks(std::vector<ComPtr<INATNetwork> > &aNATNetworks);
327 HRESULT getEventSource(ComPtr<IEventSource> &aEventSource);
328 HRESULT getExtensionPackManager(ComPtr<IExtPackManager> &aExtensionPackManager);
329 HRESULT getHostOnlyNetworks(std::vector<ComPtr<IHostOnlyNetwork> > &aHostOnlyNetworks);
330 HRESULT getInternalNetworks(std::vector<com::Utf8Str> &aInternalNetworks);
331 HRESULT getGenericNetworkDrivers(std::vector<com::Utf8Str> &aGenericNetworkDrivers);
332 HRESULT getCloudNetworks(std::vector<ComPtr<ICloudNetwork> > &aCloudNetworks);
333 HRESULT getCloudProviderManager(ComPtr<ICloudProviderManager> &aCloudProviderManager);
334
335 // wrapped IVirtualBox methods
336 HRESULT composeMachineFilename(const com::Utf8Str &aName,
337 const com::Utf8Str &aGroup,
338 const com::Utf8Str &aCreateFlags,
339 const com::Utf8Str &aBaseFolder,
340 com::Utf8Str &aFile);
341 HRESULT createMachine(const com::Utf8Str &aSettingsFile,
342 const com::Utf8Str &aName,
343 const std::vector<com::Utf8Str> &aGroups,
344 const com::Utf8Str &aOsTypeId,
345 const com::Utf8Str &aFlags,
346 const com::Utf8Str &aCipher,
347 const com::Utf8Str &aPasswordId,
348 const com::Utf8Str &aPassword,
349 ComPtr<IMachine> &aMachine);
350 HRESULT openMachine(const com::Utf8Str &aSettingsFile,
351 const com::Utf8Str &aPassword,
352 ComPtr<IMachine> &aMachine);
353 HRESULT registerMachine(const ComPtr<IMachine> &aMachine);
354 HRESULT findMachine(const com::Utf8Str &aNameOrId,
355 ComPtr<IMachine> &aMachine);
356 HRESULT getMachinesByGroups(const std::vector<com::Utf8Str> &aGroups,
357 std::vector<ComPtr<IMachine> > &aMachines);
358 HRESULT getMachineStates(const std::vector<ComPtr<IMachine> > &aMachines,
359 std::vector<MachineState_T> &aStates);
360 HRESULT createAppliance(ComPtr<IAppliance> &aAppliance);
361 HRESULT createUnattendedInstaller(ComPtr<IUnattended> &aUnattended);
362 HRESULT createMedium(const com::Utf8Str &aFormat,
363 const com::Utf8Str &aLocation,
364 AccessMode_T aAccessMode,
365 DeviceType_T aDeviceType,
366 ComPtr<IMedium> &aMedium);
367 HRESULT openMedium(const com::Utf8Str &aLocation,
368 DeviceType_T aDeviceType,
369 AccessMode_T aAccessMode,
370 BOOL aForceNewUuid,
371 ComPtr<IMedium> &aMedium);
372 HRESULT getGuestOSType(const com::Utf8Str &aId,
373 ComPtr<IGuestOSType> &aType);
374 HRESULT createSharedFolder(const com::Utf8Str &aName,
375 const com::Utf8Str &aHostPath,
376 BOOL aWritable,
377 BOOL aAutomount,
378 const com::Utf8Str &aAutoMountPoint);
379 HRESULT removeSharedFolder(const com::Utf8Str &aName);
380 HRESULT getExtraDataKeys(std::vector<com::Utf8Str> &aKeys);
381 HRESULT getExtraData(const com::Utf8Str &aKey,
382 com::Utf8Str &aValue);
383 HRESULT setExtraData(const com::Utf8Str &aKey,
384 const com::Utf8Str &aValue);
385 HRESULT setSettingsSecret(const com::Utf8Str &aPassword);
386 HRESULT createDHCPServer(const com::Utf8Str &aName,
387 ComPtr<IDHCPServer> &aServer);
388 HRESULT findDHCPServerByNetworkName(const com::Utf8Str &aName,
389 ComPtr<IDHCPServer> &aServer);
390 HRESULT removeDHCPServer(const ComPtr<IDHCPServer> &aServer);
391 HRESULT createNATNetwork(const com::Utf8Str &aNetworkName,
392 ComPtr<INATNetwork> &aNetwork);
393 HRESULT findNATNetworkByName(const com::Utf8Str &aNetworkName,
394 ComPtr<INATNetwork> &aNetwork);
395 HRESULT removeNATNetwork(const ComPtr<INATNetwork> &aNetwork);
396 HRESULT createHostOnlyNetwork(const com::Utf8Str &aNetworkName,
397 ComPtr<IHostOnlyNetwork> &aNetwork);
398 HRESULT findHostOnlyNetworkByName(const com::Utf8Str &aNetworkName,
399 ComPtr<IHostOnlyNetwork> &aNetwork);
400 HRESULT findHostOnlyNetworkById(const com::Guid &aId,
401 ComPtr<IHostOnlyNetwork> &aNetwork);
402 HRESULT removeHostOnlyNetwork(const ComPtr<IHostOnlyNetwork> &aNetwork);
403 HRESULT createCloudNetwork(const com::Utf8Str &aNetworkName,
404 ComPtr<ICloudNetwork> &aNetwork);
405 HRESULT findCloudNetworkByName(const com::Utf8Str &aNetworkName,
406 ComPtr<ICloudNetwork> &aNetwork);
407 HRESULT removeCloudNetwork(const ComPtr<ICloudNetwork> &aNetwork);
408 HRESULT checkFirmwarePresent(FirmwareType_T aFirmwareType,
409 const com::Utf8Str &aVersion,
410 com::Utf8Str &aUrl,
411 com::Utf8Str &aFile,
412 BOOL *aResult);
413 HRESULT findProgressById(const com::Guid &aId,
414 ComPtr<IProgress> &aProgressObject);
415
416 static HRESULT i_setErrorStaticBoth(HRESULT aResultCode, int vrc, const char *aText, ...)
417 {
418 va_list va;
419 va_start (va, aText);
420 HRESULT hrc = setErrorInternalV(aResultCode, getStaticClassIID(), getStaticComponentName(), aText, va, false, true, vrc);
421 va_end(va);
422 return hrc;
423 }
424
425 HRESULT i_registerMachine(Machine *aMachine);
426 HRESULT i_registerDHCPServer(DHCPServer *aDHCPServer,
427 bool aSaveRegistry = true);
428 HRESULT i_unregisterDHCPServer(DHCPServer *aDHCPServer);
429 HRESULT i_registerNATNetwork(NATNetwork *aNATNetwork,
430 bool aSaveRegistry = true);
431 HRESULT i_unregisterNATNetwork(NATNetwork *aNATNetwork,
432 bool aSaveRegistry = true);
433 HRESULT i_checkMediaForConflicts(const Guid &aId,
434 const Utf8Str &aLocation,
435 Utf8Str &aConflictType,
436 ComObjPtr<Medium> *pDupMedium);
437 int i_decryptSettings();
438 int i_decryptMediumSettings(Medium *pMedium);
439 int i_decryptSettingBytes(uint8_t *aPlaintext,
440 const uint8_t *aCiphertext,
441 size_t aCiphertextSize) const;
442 int i_encryptSettingBytes(const uint8_t *aPlaintext,
443 uint8_t *aCiphertext,
444 size_t aPlaintextSize,
445 size_t aCiphertextSize) const;
446 void i_reportDriverVersions(void);
447
448 struct Data; // opaque data structure, defined in VirtualBoxImpl.cpp
449
450 Data *m;
451
452 /* static variables (defined in VirtualBoxImpl.cpp) */
453 static com::Utf8Str sVersion;
454 static com::Utf8Str sVersionNormalized;
455 static ULONG sRevision;
456 static com::Utf8Str sPackageType;
457 static com::Utf8Str sAPIVersion;
458 static std::map<com::Utf8Str, int> sNatNetworkNameToRefCount;
459 static RWLockHandle* spMtxNatNetworkNameToRefCountLock;
460
461 static DECLCALLBACK(int) AsyncEventHandler(RTTHREAD thread, void *pvUser);
462
463#ifdef RT_OS_WINDOWS
464 friend class StartSVCHelperClientData;
465 static void i_SVCHelperClientThreadTask(StartSVCHelperClientData *pTask);
466#endif
467
468#if defined(RT_OS_WINDOWS) && defined(VBOXSVC_WITH_CLIENT_WATCHER)
469protected:
470 void i_callHook(const char *a_pszFunction) RT_OVERRIDE;
471 bool i_watchClientProcess(RTPROCESS a_pidClient, const char *a_pszFunction);
472public:
473 static void i_logCaller(const char *a_pszFormat, ...);
474private:
475
476#endif
477};
478
479////////////////////////////////////////////////////////////////////////////////
480
481#endif /* !MAIN_INCLUDED_VirtualBoxImpl_h */
482
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette