Move function definition to aul header
[platform/core/appfw/aul-1.git] / src / aul_rsc_mgr_schema.h
1 #ifndef __AUL_RSC_MGR_SCHEMA_H__
2 #define __AUL_RSC_MGR_SCHEMA_H__
3
4 static const char res_schema[] =
5 "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
6 "<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" elementFormDefault=\"qualified\" targetNamespace=\"http://tizen.org/ns/rm\" xmlns:packages=\"http://tizen.org/ns/rm\">"
7 "  <xs:import namespace=\"http://www.w3.org/XML/1998/namespace\"/>"
8 "  <xs:element name=\"res\">"
9 "    <xs:complexType>"
10 "      <xs:all>"
11 "        <xs:element name=\"group-image\" type=\"packages:GroupContainer\" maxOccurs=\"1\" minOccurs=\"0\"/>"
12 "        <xs:element name=\"group-layout\" type=\"packages:GroupContainer\" maxOccurs=\"1\" minOccurs=\"0\"/>"
13 "        <xs:element name=\"group-sound\" type=\"packages:GroupContainer\" maxOccurs=\"1\" minOccurs=\"0\"/>"
14 "        <xs:element name=\"group-bin\" type=\"packages:GroupContainer\" maxOccurs=\"1\" minOccurs=\"0\"/>"
15 "      </xs:all>"
16 "    </xs:complexType>"
17 "  </xs:element>"
18 "  <xs:complexType name=\"GroupContainer\">"
19 "    <xs:sequence>"
20 "      <xs:element name=\"node\" maxOccurs=\"unbounded\" minOccurs=\"0\">"
21 "        <xs:complexType>"
22 "          <xs:attribute name=\"folder\" type=\"xs:string\" use=\"required\"/>"
23 "          <xs:attribute name=\"screen-dpi\" type=\"xs:integer\"/>"
24 "          <xs:attribute name=\"screen-dpi-range\" type=\"xs:string\"/>"
25 "          <xs:attribute name=\"screen-width-range\" type=\"xs:string\"/>"
26 "          <xs:attribute name=\"screen-large\" type=\"xs:boolean\"/>"
27 "          <xs:attribute name=\"screen-bpp\" type=\"xs:integer\"/>"
28 "          <xs:attribute name=\"platform-version\" type=\"xs:string\"/>"
29 "          <xs:attribute name=\"language\" type=\"xs:string\"/>"
30 "        </xs:complexType>"
31 "      </xs:element>"
32 "    </xs:sequence>"
33 "    <xs:attribute name=\"folder\" type=\"xs:string\" use=\"required\"/>"
34 "  </xs:complexType>"
35 "</xs:schema>";
36
37 #endif