Changeset 92876 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Dec 12, 2021 3:00:02 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestSessionImpl.h
r92627 r92876 242 242 enum SESSIONOBJECTTYPE 243 243 { 244 /** @todo r=bird: The tradition is to start at = 1, leaving 0 for invalid or 245 * unused to catch uninitialized data. You do not number the other enum values. 246 * The 32BIT_HACK is only needed for externally visible stuff that might be used 247 * by with different compiler options. 248 * 249 * As noted elsewhere already, SESSIONOBJECTTYPE_ANONYMOUS isn't used 250 * anywhere can be removed till such time as it is needed. Try to not think 251 * too far ahead but if you do, please leave some more useful clues that 252 * "Anonymous object" about the intent. */ 244 253 /** Anonymous object. */ 245 254 SESSIONOBJECTTYPE_ANONYMOUS = 0, … … 263 272 /** The object type. */ 264 273 SESSIONOBJECTTYPE enmType; 265 /** Weak pointer to the object itself. */ 274 /** Weak pointer to the object itself. 275 * Is NULL for SESSIONOBJECTTYPE_SESSION because GuestSession doesn't 276 * inherit from GuestObject. */ 266 277 GuestObject *pObject; 267 278 }; … … 269 280 /** Map containing all objects bound to a guest session. 270 281 * The key specifies the (global) context ID. */ 271 typedef std::map 282 typedef std::map<uint32_t, SessionObject> SessionObjects; 272 283 273 284 public:
Note:
See TracChangeset
for help on using the changeset viewer.