Changeset 55644 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- May 4, 2015 1:27:35 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 100019
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestCtrlImplPrivate.h
r55631 r55644 1 1 /* $Id$ */ 2 2 /** @file 3 *4 3 * Internal helpers/structures for guest control functionality. 5 4 */ -
trunk/src/VBox/Main/include/GuestImpl.h
r55613 r55644 27 27 28 28 #include "AdditionsFacilityImpl.h" 29 #include "GuestCtrlImplPrivate.h" 29 #ifdef VBOX_WITH_GUEST_CONTROL 30 # include "GuestCtrlImplPrivate.h" 31 # include "GuestSessionImpl.h" 32 #endif 30 33 #ifdef VBOX_WITH_DRAG_AND_DROP 31 34 # include "GuestDnDSourceImpl.h" 32 35 # include "GuestDnDTargetImpl.h" 33 36 #endif 34 #include " GuestSessionImpl.h"37 #include "EventImpl.h" 35 38 #include "HGCM.h" 36 39 … … 72 75 /** Static callback for handling guest control notifications. */ 73 76 static DECLCALLBACK(int) i_notifyCtrlDispatcher(void *pvExtension, uint32_t u32Function, void *pvData, uint32_t cbData); 77 #endif 74 78 static DECLCALLBACK(void) i_staticUpdateStats(RTTIMERLR hTimerLR, void *pvUser, uint64_t iTick); 75 #endif76 79 /** @} */ 77 80 … … 96 99 return setErrorInternal(aResultCode, getStaticClassIID(), getStaticComponentName(), aText, false, true); 97 100 } 98 #ifdef VBOX_WITH_GUEST_CONTROL99 int i_dispatchToSession(PVBOXGUESTCTRLHOSTCBCTX pCtxCb, PVBOXGUESTCTRLHOSTCALLBACK pSvcCb);100 101 uint32_t i_getAdditionsVersion(void) { return mData.mAdditionsVersionFull; } 101 102 VBOXOSTYPE i_getGuestOSType(void) { return mData.mOSType; } 103 #ifdef VBOX_WITH_GUEST_CONTROL 104 int i_dispatchToSession(PVBOXGUESTCTRLHOSTCBCTX pCtxCb, PVBOXGUESTCTRLHOSTCALLBACK pSvcCb); 102 105 int i_sessionRemove(GuestSession *pSession); 103 106 int i_sessionCreate(const GuestSessionStartupInfo &ssInfo, const GuestCredentials &guestCreds, … … 174 177 typedef std::map< AdditionsFacilityType_T, ComObjPtr<AdditionsFacility> >::const_iterator FacilityMapIterConst; 175 178 179 #ifdef VBOX_WITH_GUEST_CONTROL 176 180 /** Map for keeping the guest sessions. The primary key marks the guest session ID. */ 177 181 typedef std::map <uint32_t, ComObjPtr<GuestSession> > GuestSessions; 182 #endif 178 183 179 184 struct Data … … 192 197 uint32_t mAdditionsFeatures; 193 198 Utf8Str mInterfaceVersion; 199 #ifdef VBOX_WITH_GUEST_CONTROL 194 200 GuestSessions mGuestSessions; 195 201 uint32_t mNextSessionID; 202 #endif 196 203 } mData; 197 204 … … 208 215 const ComObjPtr<Console> mParent; 209 216 210 #ifdef VBOX_WITH_GUEST_CONTROL211 217 /** 212 218 * This can safely be used without holding any locks. … … 215 221 */ 216 222 const ComObjPtr<EventSource> mEventSource; 223 #ifdef VBOX_WITH_GUEST_CONTROL 217 224 /** General extension callback for guest control. */ 218 225 HGCMSVCEXTHANDLE mhExtCtrl;
Note:
See TracChangeset
for help on using the changeset viewer.