mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-11 04:21:00 -05:00
76 lines
5.7 KiB
C++
76 lines
5.7 KiB
C++
#ifndef _SERVICES_H
|
|
#define _SERVICES_H
|
|
|
|
#include "bfc/std_mkncc.h" // for MKnCC()
|
|
|
|
// lower-case service names are reserved by Nullsoft for future use
|
|
// upper-case service names are for 3rd parties to extend the service system
|
|
|
|
// if you have a service that is unique to a component, make it type
|
|
// UNIQUE and register it by GUID
|
|
|
|
|
|
namespace WaSvc
|
|
{
|
|
enum
|
|
{
|
|
NONE = MK4CC( 'n', 'o', 'n', 'e' ),
|
|
UNIQUE = MK4CC( 'u', 'n', 'i', 'q' ), // for unique services, enumed by GUID
|
|
OBJECT = MK4CC( 'o', 'b', 'j', 'f' ), // for unique objects, enumed by GUID
|
|
CONTEXTCMD = MK4CC( 'c', 'c', 'm', 'd' ), // context menu command svc_contextCmd.h
|
|
DEVICE = MK3CC( 'd', 'e', 'v' ), // portable device svc_device.h
|
|
FILEREADER = MK4CC( 'f', 's', 'r', 'd' ), // file system reader (disk, zip, http)
|
|
FILESELECTOR = MK4CC( 'f', 's', 'e', 'l' ), // file selector svc_filesel.h
|
|
STORAGEVOLENUM = MK4CC( 'f', 's', 'e', 'n' ), // storage volume enumerator.
|
|
IMAGEGENERATOR = MK4CC( 'i', 'm', 'g', 'n' ), // image generator svc_imggen.h
|
|
IMAGELOADER = MK4CC( 'i', 'm', 'g', 'l' ), // image loader svc_imgload.h
|
|
IMAGEWRITER = MK4CC( 'i', 'm', 'g', 'w' ), // image writer
|
|
ITEMMANAGER = MK4CC( 'i', 'm', 'g', 'r' ), // item manager svc_itemmgr.h
|
|
PLAYLISTREADER = MK4CC( 'p', 'l', 'r', 'd' ), // playlist reader - DEPRECATED - only for wa3
|
|
PLAYLISTWRITER = MK4CC( 'p', 'l', 'w', 'r' ), // playlist writer - DEPRECATED - only for wa3
|
|
MEDIACONVERTER = MK4CC( 'c', 'o', 'n', 'v' ), // media converter
|
|
MEDIACORE = MK4CC( 'c', 'o', 'r', 'e' ), // media core
|
|
MEDIARECORDER = MK4CC( 'm', 'r', 'e', 'c' ), // media recorder
|
|
SCRIPTOBJECT = MK4CC( 'm', 'a', 'k', 'i' ), // third party script object
|
|
// TRANSLATOR=MK4CC('x','l','a','t'), // text translator
|
|
WINDOWCREATE = MK4CC( 'w', 'n', 'd', 'c' ), // window creator
|
|
XMLPROVIDER = MK4CC( 'x', 'm', 'l', 'p' ), // xml provider
|
|
DB = MK2CC( 'd', 'b' ), // database
|
|
SKINFILTER = MK4CC( 'f', 'l', 't', 'r' ), // bitmap/colorref skin filter
|
|
METADATA = MK4CC( 'm', 't', 'd', 't' ), // play item meta data
|
|
METATAG = MK4CC( 'm', 't', 't', 'g' ), // metadata tagging of play items
|
|
EVALUATOR = MK4CC( 'e', 'v', 'a', 'l' ), // evaluate a string
|
|
MINIBROWSER = MK2CC( 'm', 'b' ), // minibrowser
|
|
TOOLTIPSRENDERER = MK4CC( 't', 't', 'i', 'p' ), // tooltips renderer
|
|
XUIOBJECT = MK4CC( 'x', 'u', 'i', 'o' ), // xml gui objects
|
|
STRINGCONVERTER = MK4CC( 'u', 't', 'f', '8' ), // unicode string conversion
|
|
ACTION = MK3CC( 'a', 'c', 't' ), // custom actions (ie: for buttons)
|
|
COREADMIN = MK4CC( 'c', 'a', 'd', 'm' ), // core administrator
|
|
DROPTARGET = MK4CC( 'd', 'r', 'o', 'p' ), // drop targets
|
|
OBJECTDIR = MK4CC( 'o', 'b', 'j', 'd' ), // object directory
|
|
TEXTFEED = MK4CC( 't', 'x', 't', 'f' ), // text feed, to send text to various XUI objects (ie: <Text> by using display="textfeedid"
|
|
ACCESSIBILITY = MK4CC( 'a', 'c', 'c', 's' ), // accessibility service
|
|
ACCESSIBILITYROLESERVER = MK4CC( 'r', 'o', 'l', 'e' ), // accessibility roleServer services
|
|
EXPORTER = MK3CC( 'e', 'x', 'p' ), // exporter
|
|
COLLECTION = MK4CC( 'c', 'l', 'c', 't' ), // named xml overridable collection
|
|
REDIRECT = MK4CC( 'r', 'e', 'd', 'r' ), // filename redirect
|
|
FONTRENDER = MK4CC( 'f', 'o', 'n', 't' ), // font renderer (bitmap/truetype/freetype)
|
|
SRCCLASSFACTORY = MK4CC( 'c', 'l', 'f', 'a' ), // source code class factory
|
|
SRCEDITOR = MK4CC( 's', 'e', 'd', 't' ), // source code editor
|
|
MP4AUDIODECODER = MK4CC( 'm', '4', 'a', 'd' ), // mp4 audio decoder
|
|
MP4VIDEODECODER = MK4CC( 'm', '4', 'v', 'd' ), // mp4 audio decoder
|
|
PLAYLISTREADER_WA5 = MK4CC( 'p', 'l', 'r', '5' ), // playlist reader
|
|
PLAYLISTWRITER_WA5 = MK4CC( 'p', 'l', 'w', '5' ), // playlist writer
|
|
PLAYLISTHANDLER = MK3CC( 'p', 'l', 'h' ), // playlist handler
|
|
TAGPROVIDER = MK4CC( 't', 'a', 'g', 'z' ), // tag provider (for ATF engine)
|
|
NSVFACTORY = MK4CC( 'n', 's', 'v', 'f' ), // NSV factory (to create NSV objects)
|
|
JSAPI2_APICREATOR = MK4CC( 'j', 's', 'a', 'c' ), // API Creator for the Javascript API
|
|
MKVDECODER = MK3CC( 'm', 'k', 'v' ), // MKV factory (to create MKV decoder objects)
|
|
FLVDECODER = MK3CC( 'f', 'l', 'v' ), // FLV factory (to create FLV decoder objects)
|
|
AVIDECODER = MK3CC( 'a', 'v', 'i' ), // AVI factory (to create AVI decoder objects)
|
|
OGGDECODER = MK3CC( 'o', 'g', 'g' ), // Ogg factory (to create Ogg decoder objects)
|
|
MP4DECODER = MK3CC( 'm', 'p', '4' ), // MP4 factory (to create MP4 decoder objects)
|
|
};
|
|
};
|
|
|
|
#endif
|