services.h 4.2 KB

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