22 platform makes is that you supply a Domain Policy DLL. This provides an implementation |
22 platform makes is that you supply a Domain Policy DLL. This provides an implementation |
23 of the domain tree, and a suitable implementation of the <xref href="GUID-15CAA28D-943B-3B92-B4E1-8AA466DFA407.dita"><apiname>DmPolicy</apiname></xref> class |
23 of the domain tree, and a suitable implementation of the <xref href="GUID-15CAA28D-943B-3B92-B4E1-8AA466DFA407.dita"><apiname>DmPolicy</apiname></xref> class |
24 that the domain manager uses to access that tree. A default implementation |
24 that the domain manager uses to access that tree. A default implementation |
25 is provided by Symbian platform. </p> |
25 is provided by Symbian platform. </p> |
26 <fig id="GUID-C902A1BA-C300-5A93-8385-F4D39FB6F86A"> |
26 <fig id="GUID-C902A1BA-C300-5A93-8385-F4D39FB6F86A"> |
27 <image href="GUID-CE3C8A77-8797-53FB-984E-A91A413BA254_d0e373271_href.png" placement="inline"/> |
27 <image href="GUID-CE3C8A77-8797-53FB-984E-A91A413BA254_d0e379119_href.png" placement="inline"/> |
28 </fig> |
28 </fig> |
29 <p>The domain hierarchy itself is defined in terms of a simple array of <xref href="GUID-15A31C41-77E0-3E6D-B106-D4FBFA9A52C6.dita"><apiname>TDmDomainSpec</apiname></xref> objects. |
29 <p>The domain hierarchy itself is defined in terms of a simple array of <xref href="GUID-15A31C41-77E0-3E6D-B106-D4FBFA9A52C6.dita"><apiname>TDmDomainSpec</apiname></xref> objects. |
30 Each <codeph>TDmDomainSpec</codeph> item defines a domain, its characteristics, |
30 Each <codeph>TDmDomainSpec</codeph> item defines a domain, its characteristics, |
31 and its position in the domain hierarchy. A default domain hierarchy is supplied |
31 and its position in the domain hierarchy. A default domain hierarchy is supplied |
32 by Symbian platform, but domain management policy can define additional domain |
32 by Symbian platform, but domain management policy can define additional domain |
33 identifiers, <xref href="GUID-4F284AB0-85A5-3871-B973-8BCAB4AA91BC.dita"><apiname>TDmDomainId</apiname></xref> types, and consequently domains. |
33 identifiers, <xref href="GUID-4F284AB0-85A5-3871-B973-8BCAB4AA91BC.dita"><apiname>TDmDomainId</apiname></xref> types, and consequently domains. |
34 The only requirement that the domain manager makes is that the root of the |
34 The only requirement that the domain manager makes is that the root of the |
35 domain tree must have domain Id <codeph>KDmIdRoot</codeph>. </p> |
35 domain tree must have domain Id <codeph>KDmIdRoot</codeph>. </p> |
36 <fig id="GUID-7590D6B6-A264-58A6-8764-8491020B921C"> |
36 <fig id="GUID-7590D6B6-A264-58A6-8764-8491020B921C"> |
37 <title> Default domain tree </title> |
37 <title> Default domain tree </title> |
38 <image href="GUID-32C58139-E341-5A15-B20C-D3EA4117AC6E_d0e373296_href.png" placement="inline"/> |
38 <image href="GUID-32C58139-E341-5A15-B20C-D3EA4117AC6E_d0e379144_href.png" placement="inline"/> |
39 </fig> |
39 </fig> |
40 <p>The default domain hierarchy supplied by Symbian platform in <filepath>domainpolicy.cpp</filepath> is |
40 <p>The default domain hierarchy supplied by Symbian platform in <filepath>domainpolicy.cpp</filepath> is |
41 simply: </p> |
41 simply: </p> |
42 <codeblock id="GUID-89939191-2C55-54B5-BCBA-DA8D1430D849" xml:space="preserve">static const TDmDomainSpec DomainHierarchy[] = |
42 <codeblock id="GUID-89939191-2C55-54B5-BCBA-DA8D1430D849" xml:space="preserve">static const TDmDomainSpec DomainHierarchy[] = |
43 |
43 |