Changeset 98340 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Jan 30, 2023 12:09:34 AM (2 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 1 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ConsoleImpl.h
r98266 r98340 52 52 class OUSBDevice; 53 53 class RemoteUSBDevice; 54 class SharedFolder;54 class ConsoleSharedFolder; 55 55 class VRDEServerInfo; 56 56 class EmulatedUSB; … … 654 654 }; 655 655 656 typedef std::map<Utf8Str, ComObjPtr< SharedFolder> > SharedFolderMap;656 typedef std::map<Utf8Str, ComObjPtr<ConsoleSharedFolder> > SharedFolderMap; 657 657 typedef std::map<Utf8Str, SharedFolderData> SharedFolderDataMap; 658 658 typedef std::map<Utf8Str, ComPtr<IMediumAttachment> > MediumAttachmentMap; … … 692 692 693 693 HRESULT i_findSharedFolder(const Utf8Str &strName, 694 ComObjPtr< SharedFolder> &aSharedFolder,694 ComObjPtr<ConsoleSharedFolder> &aSharedFolder, 695 695 bool aSetError = false); 696 696 -
trunk/src/VBox/Main/include/ConsoleSharedFolderImpl.h
r98048 r98340 26 26 */ 27 27 28 #ifndef MAIN_INCLUDED_ SharedFolderImpl_h29 #define MAIN_INCLUDED_ SharedFolderImpl_h28 #ifndef MAIN_INCLUDED_ConsoleSharedFolderImpl_h 29 #define MAIN_INCLUDED_ConsoleSharedFolderImpl_h 30 30 #ifndef RT_WITHOUT_PRAGMA_ONCE 31 31 # pragma once … … 37 37 class Console; 38 38 39 class ATL_NO_VTABLE SharedFolder :39 class ATL_NO_VTABLE ConsoleSharedFolder : 40 40 public SharedFolderWrap 41 41 { 42 42 public: 43 43 44 DECLARE_COMMON_CLASS_METHODS ( SharedFolder)44 DECLARE_COMMON_CLASS_METHODS (ConsoleSharedFolder) 45 45 46 46 HRESULT FinalConstruct(); … … 48 48 49 49 // public initializer/uninitializer for internal purposes only 50 HRESULT init(Machine *aMachine, const com::Utf8Str &aName, const com::Utf8Str &aHostPath,51 bool aWritable, bool aAutoMount, const com::Utf8Str &aAutoMountPoint, bool fFailOnError);52 HRESULT initCopy(Machine *aMachine, SharedFolder *aThat);50 // HRESULT init(Machine *aMachine, const com::Utf8Str &aName, const com::Utf8Str &aHostPath, 51 // bool aWritable, bool aAutoMount, const com::Utf8Str &aAutoMountPoint, bool fFailOnError); 52 // HRESULT initCopy(Machine *aMachine, SharedFolder *aThat); 53 53 HRESULT init(Console *aConsole, const com::Utf8Str &aName, const com::Utf8Str &aHostPath, 54 54 bool aWritable, bool aAutoMount, const com::Utf8Str &aAutoMountPoint, bool fFailOnError); … … 115 115 116 116 /* weak parents (only one of them is not null) */ 117 #if !defined(VBOX_COM_INPROC)118 Machine * const mMachine;119 VirtualBox * const mVirtualBox;120 #else121 117 Console * const mConsole; 122 #endif123 118 124 struct Data; // opaque data struct, defined in SharedFolderImpl.cpp119 struct Data; // opaque data struct, defined in ConsoleSharedFolderImpl.cpp 125 120 Data *m; 126 121 }; -
trunk/src/VBox/Main/include/MachineSharedFolderImpl.h
r98048 r98340 26 26 */ 27 27 28 #ifndef MAIN_INCLUDED_ SharedFolderImpl_h29 #define MAIN_INCLUDED_ SharedFolderImpl_h28 #ifndef MAIN_INCLUDED_MachineSharedFolderImpl_h 29 #define MAIN_INCLUDED_MachineSharedFolderImpl_h 30 30 #ifndef RT_WITHOUT_PRAGMA_ONCE 31 31 # pragma once … … 51 51 bool aWritable, bool aAutoMount, const com::Utf8Str &aAutoMountPoint, bool fFailOnError); 52 52 HRESULT initCopy(Machine *aMachine, SharedFolder *aThat); 53 HRESULT init(Console *aConsole, const com::Utf8Str &aName, const com::Utf8Str &aHostPath,54 bool aWritable, bool aAutoMount, const com::Utf8Str &aAutoMountPoint, bool fFailOnError);53 // HRESULT init(Console *aConsole, const com::Utf8Str &aName, const com::Utf8Str &aHostPath, 54 // bool aWritable, bool aAutoMount, const com::Utf8Str &aAutoMountPoint, bool fFailOnError); 55 55 // HRESULT init(VirtualBox *aVirtualBox, const Utf8Str &aName, const Utf8Str &aHostPath, 56 56 // bool aWritable, const com::Utf8Str &aAutoMountPoint, bool aAutoMount, bool fFailOnError); … … 115 115 116 116 /* weak parents (only one of them is not null) */ 117 #if !defined(VBOX_COM_INPROC)118 117 Machine * const mMachine; 119 118 VirtualBox * const mVirtualBox; 120 #else121 Console * const mConsole;122 #endif123 119 124 struct Data; // opaque data struct, defined in SharedFolderImpl.cpp120 struct Data; // opaque data struct, defined in MachineSharedFolderImpl.cpp 125 121 Data *m; 126 122 };
Note:
See TracChangeset
for help on using the changeset viewer.