equal
deleted
inserted
replaced
3361 */ |
3361 */ |
3362 class RChunk : public RHandleBase |
3362 class RChunk : public RHandleBase |
3363 { |
3363 { |
3364 public: |
3364 public: |
3365 /** |
3365 /** |
3366 Set of flags used by SetRestrictions(). |
3366 Set of flags used by SetRestrictions(). |
3367 |
3367 |
3368 @see RChunk::SetRestrictions |
3368 @see RChunk::SetRestrictions |
3369 */ |
3369 */ |
3370 enum TRestrictions |
3370 enum TRestrictions |
3371 { |
3371 { |
3372 EPreventAdjust = 0x01, // Prevent Adjust, Commit, Allocate and Decommit |
3372 /** Prevent Adjust, Commit, Allocate and Decommit */ |
|
3373 EPreventAdjust = 0x01, |
3373 }; |
3374 }; |
3374 public: |
3375 public: |
3375 inline TInt Open(const TFindChunk& aFind,TOwnerType aType=EOwnerProcess); |
3376 inline TInt Open(const TFindChunk& aFind,TOwnerType aType=EOwnerProcess); |
3376 IMPORT_C TInt CreateLocal(TInt aSize,TInt aMaxSize,TOwnerType aType=EOwnerProcess); |
3377 IMPORT_C TInt CreateLocal(TInt aSize,TInt aMaxSize,TOwnerType aType=EOwnerProcess); |
3377 IMPORT_C TInt CreateLocalCode(TInt aSize,TInt aMaxSize,TOwnerType aType=EOwnerProcess); |
3378 IMPORT_C TInt CreateLocalCode(TInt aSize,TInt aMaxSize,TOwnerType aType=EOwnerProcess); |
3444 IMPORT_C void SetDisconnected(TInt aInitialBottom, TInt aInitialTop, TInt aMaxSize); |
3445 IMPORT_C void SetDisconnected(TInt aInitialBottom, TInt aInitialTop, TInt aMaxSize); |
3445 IMPORT_C void SetOwner(TOwnerType aType); |
3446 IMPORT_C void SetOwner(TOwnerType aType); |
3446 IMPORT_C void SetGlobal(const TDesC& aName); |
3447 IMPORT_C void SetGlobal(const TDesC& aName); |
3447 IMPORT_C void SetClearByte(TUint8 aClearByte); |
3448 IMPORT_C void SetClearByte(TUint8 aClearByte); |
3448 IMPORT_C void SetPaging(const TChunkPagingAtt aPaging); |
3449 IMPORT_C void SetPaging(const TChunkPagingAtt aPaging); |
|
3450 IMPORT_C void SetReadOnly(); |
3449 void SetThreadHeap(TInt aInitialSize, TInt aMaxSize, const TDesC& aName); |
3451 void SetThreadHeap(TInt aInitialSize, TInt aMaxSize, const TDesC& aName); |
3450 |
3452 |
3451 /** |
3453 /** |
3452 For use by file server only. |
3454 For use by file server only. |
3453 @internalTechnology |
3455 @internalTechnology |