1/*
2 * Copyright (c) 2024 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16/**
17 * @addtogroup UDMF
18 * @{
19 *
20 * @brief The Unified Data Management Framework(UDMF) aims to define various standards
21 * for data across applications, devices, and platforms, providing a unified OpenHarmony
22 * data language and standardized data access and reading paths.
23 *
24 * @syscap SystemCapability.DistributedDataManager.UDMF.Core
25 *
26 * @since 12
27 */
28
29/**
30 * @file udmf_meta.h
31 *
32 * @brief Declaration the uniform data type information.
33 *
34 * @kit ArkData
35 * @library libudmf.so
36 * @syscap SystemCapability.DistributedDataManager.UDMF.Core
37 *
38 * @since 12
39 */
40
41#ifndef UDMF_META_H
42#define UDMF_META_H
43
44#ifdef __cplusplus
45extern "C" {
46#endif
47
48/**
49 * @brief A specific type of uniform data type.
50 *
51 * @since 12
52 */
53#define UDMF_META_ENTITY "general.entity"
54
55/**
56 * @brief A specific type of uniform data type.
57 *
58 * @since 12
59 */
60#define UDMF_META_OBJECT "general.object"
61
62/**
63 * @brief A specific type of uniform data type.
64 *
65 * @since 12
66 */
67#define UDMF_META_COMPOSITE_OBJECT "general.composite-object"
68
69/**
70 * @brief A specific type of uniform data type.
71 *
72 * @since 12
73 */
74#define UDMF_META_TEXT "general.text"
75
76/**
77 * @brief A specific type of uniform data type.
78 *
79 * @since 12
80 */
81#define UDMF_META_PLAIN_TEXT "general.plain-text"
82
83/**
84 * @brief A specific type of uniform data type.
85 *
86 * @since 12
87 */
88#define UDMF_META_HTML "general.html"
89
90/**
91 * @brief A specific type of uniform data type.
92 *
93 * @since 12
94 */
95#define UDMF_META_HYPERLINK "general.hyperlink"
96
97/**
98 * @brief A specific type of uniform data type.
99 *
100 * @since 12
101 */
102#define UDMF_META_XML "general.xml"
103
104/**
105 * @brief A specific type of uniform data type.
106 *
107 * @since 12
108 */
109#define UDMF_META_SOURCE_CODE "general.source-code"
110
111/**
112 * @brief A specific type of uniform data type.
113 *
114 * @since 12
115 */
116#define UDMF_META_SCRIPT "general.script"
117
118/**
119 * @brief A specific type of uniform data type.
120 *
121 * @since 12
122 */
123#define UDMF_META_SHELL_SCRIPT "general.shell-script"
124
125/**
126 * @brief A specific type of uniform data type.
127 *
128 * @since 12
129 */
130#define UDMF_META_CSH_SCRIPT "general.csh-script"
131
132/**
133 * @brief A specific type of uniform data type.
134 *
135 * @since 12
136 */
137#define UDMF_META_PERL_SCRIPT "general.perl-script"
138
139/**
140 * @brief A specific type of uniform data type.
141 *
142 * @since 12
143 */
144#define UDMF_META_PHP_SCRIPT "general.php-script"
145
146/**
147 * @brief A specific type of uniform data type.
148 *
149 * @since 12
150 */
151#define UDMF_META_PYTHON_SCRIPT "general.python-script"
152
153/**
154 * @brief A specific type of uniform data type.
155 *
156 * @since 12
157 */
158#define UDMF_META_RUBY_SCRIPT "general.ruby-script"
159
160/**
161 * @brief A specific type of uniform data type.
162 *
163 * @since 12
164 */
165#define UDMF_META_TYPE_SCRIPT "general.type-script"
166
167/**
168 * @brief A specific type of uniform data type.
169 *
170 * @since 12
171 */
172#define UDMF_META_JAVA_SCRIPT "general.java-script"
173
174/**
175 * @brief A specific type of uniform data type.
176 *
177 * @since 12
178 */
179#define UDMF_META_C_HEADER "general.c-header"
180
181/**
182 * @brief A specific type of uniform data type.
183 *
184 * @since 12
185 */
186#define UDMF_META_C_SOURCE "general.c-source"
187
188/**
189 * @brief A specific type of uniform data type.
190 *
191 * @since 12
192 */
193#define UDMF_META_C_PLUS_PLUS_HEADER "general.c-plus-plus-header"
194
195/**
196 * @brief A specific type of uniform data type.
197 *
198 * @since 12
199 */
200#define UDMF_META_C_PLUS_PLUS_SOURCE "general.c-plus-plus-source"
201
202/**
203 * @brief A specific type of uniform data type.
204 *
205 * @since 12
206 */
207#define UDMF_META_JAVA_SOURCE "general.java-source"
208
209/**
210 * @brief A specific type of uniform data type.
211 *
212 * @since 12
213 */
214#define UDMF_META_EBOOK "general.ebook"
215
216/**
217 * @brief A specific type of uniform data type.
218 *
219 * @since 12
220 */
221#define UDMF_META_EPUB "general.epub"
222
223/**
224 * @brief A specific type of uniform data type.
225 *
226 * @since 12
227 */
228#define UDMF_META_AZW "com.amazon.azw"
229
230/**
231 * @brief A specific type of uniform data type.
232 *
233 * @since 12
234 */
235#define UDMF_META_AZW3 "com.amazon.azw3"
236
237/**
238 * @brief A specific type of uniform data type.
239 *
240 * @since 12
241 */
242#define UDMF_META_KFX "com.amazon.kfx"
243
244/**
245 * @brief A specific type of uniform data type.
246 *
247 * @since 12
248 */
249#define UDMF_META_MOBI "com.amazon.mobi"
250
251/**
252 * @brief A specific type of uniform data type.
253 *
254 * @since 12
255 */
256#define UDMF_META_MEDIA "general.media"
257
258/**
259 * @brief A specific type of uniform data type.
260 *
261 * @since 12
262 */
263#define UDMF_META_IMAGE "general.image"
264
265/**
266 * @brief A specific type of uniform data type.
267 *
268 * @since 12
269 */
270#define UDMF_META_JPEG "general.jpeg"
271
272/**
273 * @brief A specific type of uniform data type.
274 *
275 * @since 12
276 */
277#define UDMF_META_PNG "general.png"
278
279/**
280 * @brief A specific type of uniform data type.
281 *
282 * @since 12
283 */
284#define UDMF_META_RAW_IMAGE "general.raw-image"
285
286/**
287 * @brief A specific type of uniform data type.
288 *
289 * @since 12
290 */
291#define UDMF_META_TIFF "general.tiff"
292
293/**
294 * @brief A specific type of uniform data type.
295 *
296 * @since 12
297 */
298#define UDMF_META_BMP "com.microsoft.bmp"
299
300/**
301 * @brief A specific type of uniform data type.
302 *
303 * @since 12
304 */
305#define UDMF_META_ICO "com.microsoft.ico"
306
307/**
308 * @brief A specific type of uniform data type.
309 *
310 * @since 12
311 */
312#define UDMF_META_PHOTOSHOP_IMAGE "com.adobe.photoshop-image"
313
314/**
315 * @brief A specific type of uniform data type.
316 *
317 * @since 12
318 */
319#define UDMF_META_AI_IMAGE "com.adobe.illustrator.ai-image"
320
321/**
322 * @brief A specific type of uniform data type.
323 *
324 * @since 12
325 */
326#define UDMF_META_WORD_DOC "com.microsoft.word.doc"
327
328/**
329 * @brief A specific type of uniform data type.
330 *
331 * @since 12
332 */
333#define UDMF_META_EXCEL "com.microsoft.excel.xls"
334
335/**
336 * @brief A specific type of uniform data type.
337 *
338 * @since 12
339 */
340#define UDMF_META_PPT "com.microsoft.powerpoint.ppt"
341
342/**
343 * @brief A specific type of uniform data type.
344 *
345 * @since 12
346 */
347#define UDMF_META_PDF "com.adobe.pdf"
348
349/**
350 * @brief A specific type of uniform data type.
351 *
352 * @since 12
353 */
354#define UDMF_META_POSTSCRIPT "com.adobe.postscript"
355
356/**
357 * @brief A specific type of uniform data type.
358 *
359 * @since 12
360 */
361#define UDMF_META_ENCAPSULATED_POSTSCRIPT "com.adobe.encapsulated-postscript"
362
363/**
364 * @brief A specific type of uniform data type.
365 *
366 * @since 12
367 */
368#define UDMF_META_VIDEO "general.video"
369
370/**
371 * @brief A specific type of uniform data type.
372 *
373 * @since 12
374 */
375#define UDMF_META_AVI "general.avi"
376
377/**
378 * @brief A specific type of uniform data type.
379 *
380 * @since 12
381 */
382#define UDMF_META_MPEG "general.mpeg"
383
384/**
385 * @brief A specific type of uniform data type.
386 *
387 * @since 12
388 */
389#define UDMF_META_MPEG4 "general.mpeg-4"
390
391/**
392 * @brief A specific type of uniform data type.
393 *
394 * @since 12
395 */
396#define UDMF_META_VIDEO_3GPP "general.3gpp"
397
398/**
399 * @brief A specific type of uniform data type.
400 *
401 * @since 12
402 */
403#define UDMF_META_VIDEO_3GPP2 "general.3gpp2"
404
405/**
406 * @brief A specific type of uniform data type.
407 *
408 * @since 12
409 */
410#define UDMF_META_WINDOWS_MEDIA_WM "com.microsoft.windows-media-wm"
411
412/**
413 * @brief A specific type of uniform data type.
414 *
415 * @since 12
416 */
417#define UDMF_META_WINDOWS_MEDIA_WMV "com.microsoft.windows-media-wmv"
418
419/**
420 * @brief A specific type of uniform data type.
421 *
422 * @since 12
423 */
424#define UDMF_META_WINDOWS_MEDIA_WMP "com.microsoft.windows-media-wmp"
425
426/**
427 * @brief A specific type of uniform data type.
428 *
429 * @since 12
430 */
431#define UDMF_META_AUDIO "general.audio"
432
433/**
434 * @brief A specific type of uniform data type.
435 *
436 * @since 12
437 */
438#define UDMF_META_AAC "general.aac"
439
440/**
441 * @brief A specific type of uniform data type.
442 *
443 * @since 12
444 */
445#define UDMF_META_AIFF "general.aiff"
446
447/**
448 * @brief A specific type of uniform data type.
449 *
450 * @since 12
451 */
452#define UDMF_META_ALAC "general.alac"
453
454/**
455 * @brief A specific type of uniform data type.
456 *
457 * @since 12
458 */
459#define UDMF_META_FLAC "general.flac"
460
461/**
462 * @brief A specific type of uniform data type.
463 *
464 * @since 12
465 */
466#define UDMF_META_MP3 "general.mp3"
467
468/**
469 * @brief A specific type of uniform data type.
470 *
471 * @since 12
472 */
473#define UDMF_META_OGG "general.ogg"
474
475/**
476 * @brief A specific type of uniform data type.
477 *
478 * @since 12
479 */
480#define UDMF_META_PCM "general.pcm"
481
482/**
483 * @brief A specific type of uniform data type.
484 *
485 * @since 12
486 */
487#define UDMF_META_WINDOWS_MEDIA_WMA "com.microsoft.windows-media-wma"
488
489/**
490 * @brief A specific type of uniform data type.
491 *
492 * @since 12
493 */
494#define UDMF_META_WAVEFORM_AUDIO "com.microsoft.waveform-audio"
495
496/**
497 * @brief A specific type of uniform data type.
498 *
499 * @since 12
500 */
501#define UDMF_META_WINDOWS_MEDIA_WMX "com.microsoft.windows-media-wmx"
502
503/**
504 * @brief A specific type of uniform data type.
505 *
506 * @since 12
507 */
508#define UDMF_META_WINDOWS_MEDIA_WVX "com.microsoft.windows-media-wvx"
509
510/**
511 * @brief A specific type of uniform data type.
512 *
513 * @since 12
514 */
515#define UDMF_META_WINDOWS_MEDIA_WAX "com.microsoft.windows-media-wax"
516
517/**
518 * @brief A specific type of uniform data type.
519 *
520 * @since 12
521 */
522#define UDMF_META_GENERAL_FILE "general.file"
523
524/**
525 * @brief A specific type of uniform data type.
526 *
527 * @since 12
528 */
529#define UDMF_META_DIRECTORY "general.directory"
530
531/**
532 * @brief A specific type of uniform data type.
533 *
534 * @since 12
535 */
536#define UDMF_META_FOLDER "general.folder"
537
538/**
539 * @brief A specific type of uniform data type.
540 *
541 * @since 12
542 */
543#define UDMF_META_SYMLINK "general.symlink"
544
545/**
546 * @brief A specific type of uniform data type.
547 *
548 * @since 12
549 */
550#define UDMF_META_ARCHIVE "general.archive"
551
552/**
553 * @brief A specific type of uniform data type.
554 *
555 * @since 12
556 */
557#define UDMF_META_BZ2_ARCHIVE "general.bz2-archive"
558
559/**
560 * @brief A specific type of uniform data type.
561 *
562 * @since 12
563 */
564#define UDMF_META_DISK_IMAGE "general.disk-image"
565
566/**
567 * @brief A specific type of uniform data type.
568 *
569 * @since 12
570 */
571#define UDMF_META_TAR_ARCHIVE "general.tar-archive"
572
573/**
574 * @brief A specific type of uniform data type.
575 *
576 * @since 12
577 */
578#define UDMF_META_ZIP_ARCHIVE "general.zip-archive"
579
580/**
581 * @brief A specific type of uniform data type.
582 *
583 * @since 12
584 */
585#define UDMF_META_JAVA_ARCHIVE "com.sun.java-archive"
586
587/**
588 * @brief A specific type of uniform data type.
589 *
590 * @since 12
591 */
592#define UDMF_META_GNU_TAR_ARCHIVE "org.gnu.gnu-tar-archive"
593
594/**
595 * @brief A specific type of uniform data type.
596 *
597 * @since 12
598 */
599#define UDMF_META_GNU_ZIP_ARCHIVE "org.gnu.gnu-zip-archive"
600
601/**
602 * @brief A specific type of uniform data type.
603 *
604 * @since 12
605 */
606#define UDMF_META_GNU_ZIP_TAR_ARCHIVE "org.gnu.gnu-zip-tar-archive"
607
608/**
609 * @brief A specific type of uniform data type.
610 *
611 * @since 12
612 */
613#define UDMF_META_CALENDAR "general.calendar"
614
615/**
616 * @brief A specific type of uniform data type.
617 *
618 * @since 12
619 */
620#define UDMF_META_CONTACT "general.contact"
621
622/**
623 * @brief A specific type of uniform data type.
624 *
625 * @since 12
626 */
627#define UDMF_META_DATABASE "general.database"
628
629/**
630 * @brief A specific type of uniform data type.
631 *
632 * @since 12
633 */
634#define UDMF_META_MESSAGE "general.message"
635
636/**
637 * @brief A specific type of uniform data type.
638 *
639 * @since 12
640 */
641#define UDMF_META_VCARD "general.vcard"
642
643/**
644 * @brief A specific type of uniform data type.
645 *
646 * @since 12
647 */
648#define UDMF_META_NAVIGATION "general.navigation"
649
650/**
651 * @brief A specific type of uniform data type.
652 *
653 * @since 12
654 */
655#define UDMF_META_LOCATION "general.location"
656
657/**
658 * @brief A specific type of uniform data type.
659 *
660 * @since 12
661 */
662#define UDMF_META_OPENHARMONY_FORM "openharmony.form"
663
664/**
665 * @brief A specific type of uniform data type.
666 *
667 * @since 12
668 */
669#define UDMF_META_OPENHARMONY_APP_ITEM "openharmony.app-item"
670
671/**
672 * @brief A specific type of uniform data type.
673 *
674 * @since 12
675 */
676#define UDMF_META_OPENHARMONY_PIXEL_MAP "openharmony.pixel-map"
677
678/**
679 * @brief A specific type of uniform data type.
680 *
681 * @since 12
682 */
683#define UDMF_META_OPENHARMONY_ATOMIC_SERVICE "openharmony.atomic-service"
684
685/**
686 * @brief A specific type of uniform data type.
687 *
688 * @since 12
689 */
690#define UDMF_META_OPENHARMONY_PACKAGE "openharmony.package"
691
692/**
693 * @brief A specific type of uniform data type.
694 *
695 * @since 12
696 */
697#define UDMF_META_OPENHARMONY_HAP "openharmony.hap"
698
699/**
700 * @brief A specific type of uniform data type.
701 *
702 * @since 12
703 */
704#define UDMF_META_SMIL "com.real.smil"
705
706/**
707 * @brief A specific type of uniform data type.
708 *
709 * @since 12
710 */
711#define UDMF_META_MARKDOWN "general.markdown"
712
713/**
714 * @brief A specific type of uniform data type.
715 *
716 * @since 12
717 */
718#define UDMF_META_FAX "general.fax"
719
720/**
721 * @brief A specific type of uniform data type.
722 *
723 * @since 12
724 */
725#define UDMF_META_JFX_FAX "com.j2.jfx-fax"
726
727/**
728 * @brief A specific type of uniform data type.
729 *
730 * @since 12
731 */
732#define UDMF_META_EFX_FAX "com.js.efx-fax"
733
734/**
735 * @brief A specific type of uniform data type.
736 *
737 * @since 12
738 */
739#define UDMF_META_XBITMAP_IMAGE "general.xbitmap-image"
740
741/**
742 * @brief A specific type of uniform data type.
743 *
744 * @since 12
745 */
746#define UDMF_META_TGA_IMAGE "com.truevision.tga-image"
747
748/**
749 * @brief A specific type of uniform data type.
750 *
751 * @since 12
752 */
753#define UDMF_META_SGI_IMAGE "com.sgi.sgi-image"
754
755/**
756 * @brief A specific type of uniform data type.
757 *
758 * @since 12
759 */
760#define UDMF_META_OPENEXR_IMAGE "com.ilm.openexr-image"
761
762/**
763 * @brief A specific type of uniform data type.
764 *
765 * @since 12
766 */
767#define UDMF_META_FLASHPIX_IMAGE "com.kodak.flashpix.image"
768
769/**
770 * @brief A specific type of uniform data type.
771 *
772 * @since 12
773 */
774#define UDMF_META_REALMEDIA "com.real.realmedia"
775
776/**
777 * @brief A specific type of uniform data type.
778 *
779 * @since 12
780 */
781#define UDMF_META_AU_AUDIO "general.au-audio"
782
783/**
784 * @brief A specific type of uniform data type.
785 *
786 * @since 12
787 */
788#define UDMF_META_AIFC_AUDIO "general.aifc-audio"
789
790/**
791 * @brief A specific type of uniform data type.
792 *
793 * @since 12
794 */
795#define UDMF_META_SD2_AUDIO "com.digidesign.sd2-audio"
796
797/**
798 * @brief A specific type of uniform data type.
799 *
800 * @since 12
801 */
802#define UDMF_META_REALAUDIO "com.real.realaudio"
803
804/**
805 * @brief A specific type of uniform data type.
806 *
807 * @since 12
808 */
809#define UDMF_META_OPENXML "org.openxmlformats.openxml"
810
811/**
812 * @brief A specific type of uniform data type.
813 *
814 * @since 12
815 */
816#define UDMF_META_WORDPROCESSINGML_DOCUMENT "org.openxmlformats.wordprocessingml.document"
817
818/**
819 * @brief A specific type of uniform data type.
820 *
821 * @since 12
822 */
823#define UDMF_META_SPREADSHEETML_SHEET "org.openxmlformats.spreadsheetml.sheet"
824
825/**
826 * @brief A specific type of uniform data type.
827 *
828 * @since 12
829 */
830#define UDMF_META_PRESENTATIONML_PRESENTATION "org.openxmlformats.presentationml.presentation"
831
832/**
833 * @brief A specific type of uniform data type.
834 *
835 * @since 12
836 */
837#define UDMF_META_OPENDOCUMENT "org.oasis.opendocument"
838
839/**
840 * @brief A specific type of uniform data type.
841 *
842 * @since 12
843 */
844#define UDMF_META_OPENDOCUMENT_TEXT "org.oasis.opendocument.text"
845
846/**
847 * @brief A specific type of uniform data type.
848 *
849 * @since 12
850 */
851#define UDMF_META_OPENDOCUMENT_SPREADSHEET "org.oasis.opendocument.spreadsheet"
852
853/**
854 * @brief A specific type of uniform data type.
855 *
856 * @since 12
857 */
858#define UDMF_META_OPENDOCUMENT_PRESENTATION "org.oasis.opendocument.presentation"
859
860/**
861 * @brief A specific type of uniform data type.
862 *
863 * @since 12
864 */
865#define UDMF_META_OPENDOCUMENT_GRAPHICS "org.oasis.opendocument.graphics"
866
867/**
868 * @brief A specific type of uniform data type.
869 *
870 * @since 12
871 */
872#define UDMF_META_OPENDOCUMENT_FORMULA "org.oasis.opendocument.formula"
873
874/**
875 * @brief A specific type of uniform data type.
876 *
877 * @since 12
878 */
879#define UDMF_META_STUFFIT_ARCHIVE "com.allume.stuffit-archive"
880
881/**
882 * @brief A specific type of uniform data type.
883 *
884 * @since 12
885 */
886#define UDMF_META_VCS "general.vcs"
887
888/**
889 * @brief A specific type of uniform data type.
890 *
891 * @since 12
892 */
893#define UDMF_META_ICS "general.ics"
894
895/**
896 * @brief A specific type of uniform data type.
897 *
898 * @since 12
899 */
900#define UDMF_META_EXECUTABLE "general.executable"
901
902/**
903 * @brief A specific type of uniform data type.
904 *
905 * @since 12
906 */
907#define UDMF_META_PORTABLE_EXECUTABLE "com.microsoft.portable-executable"
908
909/**
910 * @brief A specific type of uniform data type.
911 *
912 * @since 12
913 */
914#define UDMF_META_SUN_JAVA_CLASS "com.sun.java-class"
915
916/**
917 * @brief A specific type of uniform data type.
918 *
919 * @since 12
920 */
921#define UDMF_META_FONT "general.font"
922
923/**
924 * @brief A specific type of uniform data type.
925 *
926 * @since 12
927 */
928#define UDMF_META_TRUETYPE_FONT "general.truetype-font"
929
930/**
931 * @brief A specific type of uniform data type.
932 *
933 * @since 12
934 */
935#define UDMF_META_TRUETYPE_COLLECTION_FONT "general.truetype-collection-font"
936
937/**
938 * @brief A specific type of uniform data type.
939 *
940 * @since 12
941 */
942#define UDMF_META_OPENTYPE_FONT "general.opentype-font"
943
944/**
945 * @brief A specific type of uniform data type.
946 *
947 * @since 12
948 */
949#define UDMF_META_POSTSCRIPT_FONT "com.adobe.postscript-font"
950
951/**
952 * @brief A specific type of uniform data type.
953 *
954 * @since 12
955 */
956#define UDMF_META_POSTSCRIPT_PFB_FONT "com.adobe.postscript-pfb-font"
957
958/**
959 * @brief A specific type of uniform data type.
960 *
961 * @since 12
962 */
963#define UDMF_META_POSTSCRIPT_PFA_FONT "com.adobe.postscript-pfa-font"
964
965/**
966 * @brief A specific type of uniform data type.
967 *
968 * @since 12
969 */
970#define UDMF_META_OPENHARMONY_HDOC "openharmony.hdoc"
971
972/**
973 * @brief A specific type of uniform data type.
974 *
975 * @since 12
976 */
977#define UDMF_META_OPENHARMONY_HINOTE "openharmony.hinote"
978
979/**
980 * @brief A specific type of uniform data type.
981 *
982 * @since 12
983 */
984#define UDMF_META_OPENHARMONY_STYLED_STRING "openharmony.styled-string"
985
986/**
987 * @brief A specific type of uniform data type.
988 *
989 * @since 12
990 */
991#define UDMF_META_OPENHARMONY_WANT "openharmony.want"
992
993/**
994 * @brief A specific type of uniform data type.
995 *
996 * @since 13
997 */
998#define UDMF_META_GENERAL_FILE_URI "general.file-uri"
999
1000#ifdef __cplusplus
1001};
1002#endif
1003
1004/** @} */
1005#endif