2 * Copyright 2013, Rene Gollent, rene@gollent.com.
3 * Distributed under the terms of the MIT License.
24 AreaInfo::AreaInfo(const AreaInfo
&other
)
29 fAddress(other
.fAddress
),
31 fRamSize(other
.fRamSize
),
33 fProtection(other
.fProtection
)
38 AreaInfo::AreaInfo(team_id team
, area_id area
, const BString
& name
,
39 target_addr_t address
, target_size_t size
, target_size_t ramSize
,
40 uint32 lock
, uint32 protection
)
49 fProtection(protection
)
55 AreaInfo::SetTo(team_id team
, area_id area
, const BString
& name
,
56 target_addr_t address
, target_size_t size
, target_size_t ramSize
,
57 uint32 lock
, uint32 protection
)
66 fProtection
= protection
;