100 lines
4.3 KiB
C#
100 lines
4.3 KiB
C#
using System;
|
|
|
|
namespace Speak.Structs
|
|
{
|
|
internal static class API
|
|
{
|
|
public const string MS_SYSTEM_GETVERSION = "Miranda/System/GetVersion";
|
|
|
|
public const string MS_DB_EVENT_ADD = "DB/Event/Add";
|
|
public const string MS_DB_EVENT_GET = "DB/Event/Get";
|
|
public const string MS_DB_EVENT_DELETE = "DB/Event/Delete";
|
|
public const string MS_DB_EVENT_GETBLOBSIZE = "DB/Event/GetBlobSize";
|
|
public const string MS_DB_TIME_TIMESTAMPTOLOCAL = "DB/Time/TimestampToLocal";
|
|
|
|
|
|
public const string MS_PROTO_ADDTOCONTACT = "Proto/AddToContact";
|
|
public const string MS_PROTO_ISPROTOONCONTACT = "Proto/IsProtoOnContact";
|
|
public const string MS_PROTO_REGISTERMODULE = "Proto/RegisterModule";
|
|
public const string MS_PROTO_CHAINSEND = "Proto/ChainSend";
|
|
public const string MS_PROTO_CHAINRECV = "Proto/ChainRecv";
|
|
public const string MS_PROTO_CALLCONTACTSERVICE = "Proto/CallContactService";
|
|
public const string MS_PROTO_GETCONTACTBASEPROTO = "Proto/GetContactBaseProto";
|
|
|
|
public const string PS_SETSTATUS = "/SetStatus";
|
|
public const string PS_GETSTATUS = "/GetStatus";
|
|
|
|
public const string PSR_MESSAGE = "/RecvMessage";
|
|
public const string PSR_MESSAGEW = "/RecvMessageW";
|
|
public const string PSS_MESSAGE = "/SendMsg";
|
|
public const string PSS_MESSAGEW = "/SendMsgW"; // instant send msg
|
|
|
|
public const string MS_MSG_SENDMESSAGE = "SRMsg/SendCommand"; // type msg
|
|
public const string ME_MSG_WINDOWEVENT = "MessageAPI/WindowEvent";
|
|
|
|
public const string MS_SKIN2_ADDICON = "Skin2/Icons/AddIcon";
|
|
public const string MS_SKIN2_GETICON = "Skin2/Icons/GetIcon";
|
|
public const string MS_SKIN2_GETICONBYHANDLE = "Skin2/Icons/GetIconByHandle";
|
|
public const string ME_SKIN2_ICONSCHANGED = "Skin2/IconsChanged";
|
|
|
|
public const string MS_BB_ADDBUTTON = "TabSRMM/ButtonsBar/AddButton";
|
|
public const string MS_BB_REMOVEBUTTON = "TabSRMM/ButtonsBar/RemoveButton";
|
|
public const string MS_BB_GETBUTTONSTATE = "TabSRMM/ButtonsBar/GetButtonState";
|
|
public const string MS_BB_SETBUTTONSTATE = "TabSRMM/ButtonsBar/SetButtonState";
|
|
public const string ME_MSG_TOOLBARLOADED = "TabSRMM/ButtonsBar/ModuleLoaded";
|
|
public const string ME_MSG_BUTTONPRESSED = "TabSRMM/ButtonsBar/ButtonPressed";
|
|
|
|
public const string ME_IEVIEW_OPTIONSCHANGED = "IEVIEW/OptionsChanged";
|
|
public const string ME_DB_CONTACT_SETTINGCHANGED = "DB/Contact/SettingChanged";
|
|
|
|
public const string ME_DB_EVENT_ADDED = "DB/Event/Added";
|
|
|
|
public const string MS_UTILS_OPENURL = "Utils/OpenURL";
|
|
|
|
public const string ME_OPT_INITIALISE = "Opt/Initialise";
|
|
public const string MS_OPT_ADDPAGE = "Opt/AddPage";
|
|
|
|
public const string MS_GC_NEWSESSION = "GChat/NewChat";
|
|
|
|
public const string MS_MSG_GETWINDOWCLASS = "MessageAPI/WindowClass";
|
|
|
|
public const string MS_PROTO_ENUMPROTOS = "Proto/EnumProtos";
|
|
public const string MS_PROTO_ENUMPROTOCOLS = "Proto/EnumProtocols";
|
|
public const string MS_PROTO_ENUMACCOUNTS = "Proto/EnumAccounts";
|
|
|
|
public const string MS_IEVIEW_WINDOW = "IEVIEW/NewWindow";
|
|
|
|
public const string ME_HPP_RICHEDIT_ITEMPROCESS = "History++/RichEdit/ItemProcessEvent";
|
|
public const string MS_HPP_EG_WINDOW = "History++/ExtGrid/NewWindow";
|
|
public const string MS_HPP_GETVERSION = "History++/GetVersion";
|
|
|
|
public const string MS_DB_GETPROFILEPATH = "DB/GetProfilePath";
|
|
public const string MS_DB_GETPROFILENAME = "DB/GetProfileName";
|
|
|
|
public const Int32 CALLSERVICE_NOTFOUND = unchecked((int)0x80000000);
|
|
public const string MS_DB_CONTACT_FINDFIRST = "DB/Contact/FindFirst";
|
|
public const string MS_DB_CONTACT_FINDNEXT = "DB/Contact/FindNext";
|
|
public const string ME_CLIST_STATUSMODECHANGE = "CList/StatusModeChange";
|
|
|
|
}
|
|
|
|
public enum StatusModes
|
|
{
|
|
Offline = 40071,
|
|
Online = 40072,
|
|
Away = 40073,
|
|
DND = 40074,
|
|
NA = 40075,
|
|
Occupied = 40076,
|
|
FreeForChat = 40077,
|
|
Invisible = 40078,
|
|
OnThePhone = 40079,
|
|
OutToLunch = 40080,
|
|
Idle = 40081
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|