services.h 5.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. #ifndef _SERVICES_H
  2. #define _SERVICES_H
  3. #include "bfc/std_mkncc.h" // for MKnCC()
  4. // lower-case service names are reserved by Nullsoft for future use
  5. // upper-case service names are for 3rd parties to extend the service system
  6. // if you have a service that is unique to a component, make it type
  7. // UNIQUE and register it by GUID
  8. namespace WaSvc
  9. {
  10. enum
  11. {
  12. NONE = MK4CC( 'n', 'o', 'n', 'e' ),
  13. UNIQUE = MK4CC( 'u', 'n', 'i', 'q' ), // for unique services, enumed by GUID
  14. OBJECT = MK4CC( 'o', 'b', 'j', 'f' ), // for unique objects, enumed by GUID
  15. CONTEXTCMD = MK4CC( 'c', 'c', 'm', 'd' ), // context menu command svc_contextCmd.h
  16. DEVICE = MK3CC( 'd', 'e', 'v' ), // portable device svc_device.h
  17. FILEREADER = MK4CC( 'f', 's', 'r', 'd' ), // file system reader (disk, zip, http)
  18. FILESELECTOR = MK4CC( 'f', 's', 'e', 'l' ), // file selector svc_filesel.h
  19. STORAGEVOLENUM = MK4CC( 'f', 's', 'e', 'n' ), // storage volume enumerator.
  20. IMAGEGENERATOR = MK4CC( 'i', 'm', 'g', 'n' ), // image generator svc_imggen.h
  21. IMAGELOADER = MK4CC( 'i', 'm', 'g', 'l' ), // image loader svc_imgload.h
  22. IMAGEWRITER = MK4CC( 'i', 'm', 'g', 'w' ), // image writer
  23. ITEMMANAGER = MK4CC( 'i', 'm', 'g', 'r' ), // item manager svc_itemmgr.h
  24. PLAYLISTREADER = MK4CC( 'p', 'l', 'r', 'd' ), // playlist reader - DEPRECATED - only for wa3
  25. PLAYLISTWRITER = MK4CC( 'p', 'l', 'w', 'r' ), // playlist writer - DEPRECATED - only for wa3
  26. MEDIACONVERTER = MK4CC( 'c', 'o', 'n', 'v' ), // media converter
  27. MEDIACORE = MK4CC( 'c', 'o', 'r', 'e' ), // media core
  28. MEDIARECORDER = MK4CC( 'm', 'r', 'e', 'c' ), // media recorder
  29. SCRIPTOBJECT = MK4CC( 'm', 'a', 'k', 'i' ), // third party script object
  30. // TRANSLATOR=MK4CC('x','l','a','t'), // text translator
  31. WINDOWCREATE = MK4CC( 'w', 'n', 'd', 'c' ), // window creator
  32. XMLPROVIDER = MK4CC( 'x', 'm', 'l', 'p' ), // xml provider
  33. DB = MK2CC( 'd', 'b' ), // database
  34. SKINFILTER = MK4CC( 'f', 'l', 't', 'r' ), // bitmap/colorref skin filter
  35. METADATA = MK4CC( 'm', 't', 'd', 't' ), // play item meta data
  36. METATAG = MK4CC( 'm', 't', 't', 'g' ), // metadata tagging of play items
  37. EVALUATOR = MK4CC( 'e', 'v', 'a', 'l' ), // evaluate a string
  38. MINIBROWSER = MK2CC( 'm', 'b' ), // minibrowser
  39. TOOLTIPSRENDERER = MK4CC( 't', 't', 'i', 'p' ), // tooltips renderer
  40. XUIOBJECT = MK4CC( 'x', 'u', 'i', 'o' ), // xml gui objects
  41. STRINGCONVERTER = MK4CC( 'u', 't', 'f', '8' ), // unicode string conversion
  42. ACTION = MK3CC( 'a', 'c', 't' ), // custom actions (ie: for buttons)
  43. COREADMIN = MK4CC( 'c', 'a', 'd', 'm' ), // core administrator
  44. DROPTARGET = MK4CC( 'd', 'r', 'o', 'p' ), // drop targets
  45. OBJECTDIR = MK4CC( 'o', 'b', 'j', 'd' ), // object directory
  46. TEXTFEED = MK4CC( 't', 'x', 't', 'f' ), // text feed, to send text to various XUI objects (ie: <Text> by using display="textfeedid"
  47. ACCESSIBILITY = MK4CC( 'a', 'c', 'c', 's' ), // accessibility service
  48. ACCESSIBILITYROLESERVER = MK4CC( 'r', 'o', 'l', 'e' ), // accessibility roleServer services
  49. EXPORTER = MK3CC( 'e', 'x', 'p' ), // exporter
  50. COLLECTION = MK4CC( 'c', 'l', 'c', 't' ), // named xml overridable collection
  51. REDIRECT = MK4CC( 'r', 'e', 'd', 'r' ), // filename redirect
  52. FONTRENDER = MK4CC( 'f', 'o', 'n', 't' ), // font renderer (bitmap/truetype/freetype)
  53. SRCCLASSFACTORY = MK4CC( 'c', 'l', 'f', 'a' ), // source code class factory
  54. SRCEDITOR = MK4CC( 's', 'e', 'd', 't' ), // source code editor
  55. MP4AUDIODECODER = MK4CC( 'm', '4', 'a', 'd' ), // mp4 audio decoder
  56. MP4VIDEODECODER = MK4CC( 'm', '4', 'v', 'd' ), // mp4 audio decoder
  57. PLAYLISTREADER_WA5 = MK4CC( 'p', 'l', 'r', '5' ), // playlist reader
  58. PLAYLISTWRITER_WA5 = MK4CC( 'p', 'l', 'w', '5' ), // playlist writer
  59. PLAYLISTHANDLER = MK3CC( 'p', 'l', 'h' ), // playlist handler
  60. TAGPROVIDER = MK4CC( 't', 'a', 'g', 'z' ), // tag provider (for ATF engine)
  61. NSVFACTORY = MK4CC( 'n', 's', 'v', 'f' ), // NSV factory (to create NSV objects)
  62. JSAPI2_APICREATOR = MK4CC( 'j', 's', 'a', 'c' ), // API Creator for the Javascript API
  63. MKVDECODER = MK3CC( 'm', 'k', 'v' ), // MKV factory (to create MKV decoder objects)
  64. FLVDECODER = MK3CC( 'f', 'l', 'v' ), // FLV factory (to create FLV decoder objects)
  65. AVIDECODER = MK3CC( 'a', 'v', 'i' ), // AVI factory (to create AVI decoder objects)
  66. OGGDECODER = MK3CC( 'o', 'g', 'g' ), // Ogg factory (to create Ogg decoder objects)
  67. MP4DECODER = MK3CC( 'm', 'p', '4' ), // MP4 factory (to create MP4 decoder objects)
  68. };
  69. };
  70. #endif