- Timestamp:
- Aug 3, 2011 11:16:08 AM (13 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestDirEntryImpl.h
r38290 r38296 1 /* $Id$ */ 1 2 /** @file 2 * 3 * VirtualBox COM class implementation 3 * VirtualBox Main - interface for guest directory entries, VBoxC. 4 4 */ 5 5 … … 24 24 class GuestProcessStreamBlock; 25 25 26 /** 27 * A directory entry. 28 */ 26 29 class ATL_NO_VTABLE GuestDirEntry : 27 30 public VirtualBoxBase, … … 29 32 { 30 33 public: 34 /** @name COM and internal init/term/mapping cruft. 35 * @{ */ 31 36 VIRTUALBOXBASE_ADD_ERRORINFO_SUPPORT(GuestDirEntry, IGuestDirEntry) 32 33 37 DECLARE_NOT_AGGREGATABLE(GuestDirEntry) 34 35 38 DECLARE_PROTECT_FINAL_CONSTRUCT() 36 37 39 BEGIN_COM_MAP(GuestDirEntry) 38 40 VBOX_DEFAULT_INTERFACE_ENTRIES(IGuestDirEntry) 39 41 END_COM_MAP() 40 41 42 DECLARE_EMPTY_CTOR_DTOR(GuestDirEntry) 42 43 43 // Public initializer/uninitializer for internal purposes only44 44 HRESULT init(Guest *aParent, GuestProcessStreamBlock &streamBlock); 45 void uninit(); 45 void uninit(); 46 HRESULT FinalConstruct(); 47 void FinalRelease(); 48 /** @} */ 46 49 47 HRESULT FinalConstruct(); 48 void FinalRelease(); 49 50 // IGuestDirEntry properties 50 /** @name IGuestDirEntry properties 51 * @{ */ 51 52 STDMETHOD(COMGETTER(NodeId))(LONG64 *aNodeId); 52 53 STDMETHOD(COMGETTER(Name))(BSTR *aName); 53 54 STDMETHOD(COMGETTER(Type))(GuestDirEntryType_T *aType); 55 /** @} */ 54 56 55 57 public: 56 // Public internal methods 58 /** @name Public internal methods 59 * @{ */ 57 60 static GuestDirEntryType_T fileTypeToEntryType(const char *pszFileType); 61 /** @} */ 58 62 59 63 private: … … 69 73 }; 70 74 71 #endif / / ____H_GUESTDIRENTRYIMPL75 #endif /* !____H_GUESTDIRENTRYIMPL */ 72 76 -
trunk/src/VBox/Main/src-client/GuestDirEntryImpl.cpp
r38290 r38296 1 /* $Id$ */ 1 2 /** @file 2 * 3 * VirtualBox COM class implementation 3 * VirtualBox Main - interface for guest directory entries, VBoxC. 4 4 */ 5 5 … … 16 16 */ 17 17 18 19 /******************************************************************************* 20 * Header Files * 21 *******************************************************************************/ 18 22 #include "GuestDirEntryImpl.h" 19 23 #include "GuestCtrlImplPrivate.h" … … 22 26 #include "AutoCaller.h" 23 27 #include "Logging.h" 28 24 29 25 30 // constructor / destructor -
trunk/src/VBox/Main/src-client/xpcom/module.cpp
r35975 r38296 37 37 #endif 38 38 #include "GuestImpl.h" 39 #include "GuestDirEntryImpl.h" 39 40 #include "KeyboardImpl.h" 40 41 #include "MachineDebuggerImpl.h" … … 56 57 NS_DECL_CLASSINFO(Guest) 57 58 NS_IMPL_THREADSAFE_ISUPPORTS1_CI(Guest, IGuest) 59 NS_DECL_CLASSINFO(GuestDirEntyr) 60 NS_IMPL_THREADSAFE_ISUPPORTS1_CI(GuestDirEntry, IGuestDirEntry) 58 61 NS_DECL_CLASSINFO(Keyboard) 59 62 NS_IMPL_THREADSAFE_ISUPPORTS1_CI(Keyboard, IKeyboard)
Note:
See TracChangeset
for help on using the changeset viewer.