summaryrefslogtreecommitdiff
path: root/src/VBox/Main/include/GuestDirectoryImpl.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2014-03-26 19:21:20 +0000
committer <>2014-05-08 15:03:54 +0000
commitfb123f93f9f5ce42c8e5785d2f8e0edaf951740e (patch)
treec2103d76aec5f1f10892cd1d3a38e24f665ae5db /src/VBox/Main/include/GuestDirectoryImpl.h
parent58ed4748338f9466599adfc8a9171280ed99e23f (diff)
downloadVirtualBox-master.tar.gz
Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.3.10.tar.bz2.HEADVirtualBox-4.3.10master
Diffstat (limited to 'src/VBox/Main/include/GuestDirectoryImpl.h')
-rw-r--r--src/VBox/Main/include/GuestDirectoryImpl.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/VBox/Main/include/GuestDirectoryImpl.h b/src/VBox/Main/include/GuestDirectoryImpl.h
index 62981067..7c454eaf 100644
--- a/src/VBox/Main/include/GuestDirectoryImpl.h
+++ b/src/VBox/Main/include/GuestDirectoryImpl.h
@@ -29,6 +29,7 @@ class GuestSession;
*/
class ATL_NO_VTABLE GuestDirectory :
public VirtualBoxBase,
+ public GuestObject,
VBOX_SCRIPTABLE_IMPL(IGuestDirectory)
{
public:
@@ -43,7 +44,7 @@ public:
END_COM_MAP()
DECLARE_EMPTY_CTOR_DTOR(GuestDirectory)
- int init(GuestSession *aSession, const Utf8Str &strPath, const Utf8Str &strFilter, uint32_t uFlags);
+ int init(Console *pConsole, GuestSession *pSession, ULONG uDirID, const GuestDirectoryOpenInfo &openInfo);
void uninit(void);
HRESULT FinalConstruct(void);
void FinalRelease(void);
@@ -60,6 +61,10 @@ public:
public:
/** @name Public internal methods.
* @{ */
+ int callbackDispatcher(PVBOXGUESTCTRLHOSTCBCTX pCbCtx, PVBOXGUESTCTRLHOSTCALLBACK pSvcCb);
+ static Utf8Str guestErrorToString(int guestRc);
+ int onRemove(void);
+ static HRESULT setErrorExternal(VirtualBoxBase *pInterface, int guestRc);
/** @} */
private:
@@ -70,10 +75,10 @@ private:
struct Data
{
- GuestSession *mSession;
- Utf8Str mName;
- Utf8Str mFilter;
- uint32_t mFlags;
+ /** The directory's open info. */
+ GuestDirectoryOpenInfo mOpenInfo;
+ /** The directory's ID. */
+ uint32_t mID;
GuestProcessTool mProcessTool;
} mData;
};