⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xsms.hpp

📁 boomerang library 5.11 internet ed
💻 HPP
📖 第 1 页 / 共 4 页
字号:
{
	typedef TSMRTSound inherited;
	
protected:
	virtual void __fastcall Decode(TBitStream* BS);
	virtual void __fastcall Encode(TBitStream* BS);
public:
	#pragma option push -w-inl
	/* TObject.Create */ inline __fastcall TSMRTMidiSong(void) : TSMRTSound() { }
	#pragma option pop
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TSMRTMidiSong(void) { }
	#pragma option pop
	
};


class DELPHICLASS TSMRTDigitisedSong;
class PASCALIMPLEMENTATION TSMRTDigitisedSong : public TSMRTSound 
{
	typedef TSMRTSound inherited;
	
protected:
	virtual void __fastcall Decode(TBitStream* BS);
	virtual void __fastcall Encode(TBitStream* BS);
public:
	#pragma option push -w-inl
	/* TObject.Create */ inline __fastcall TSMRTDigitisedSong(void) : TSMRTSound() { }
	#pragma option pop
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TSMRTDigitisedSong(void) { }
	#pragma option pop
	
};


class DELPHICLASS TSMRTPolyphonicSong;
class PASCALIMPLEMENTATION TSMRTPolyphonicSong : public TSMRTSound 
{
	typedef TSMRTSound inherited;
	
protected:
	virtual void __fastcall Decode(TBitStream* BS);
	virtual void __fastcall Encode(TBitStream* BS);
public:
	#pragma option push -w-inl
	/* TObject.Create */ inline __fastcall TSMRTPolyphonicSong(void) : TSMRTSound() { }
	#pragma option pop
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TSMRTPolyphonicSong(void) { }
	#pragma option pop
	
};


class DELPHICLASS TSMRTCommand;
class PASCALIMPLEMENTATION TSMRTCommand : public System::TObject 
{
	typedef System::TObject inherited;
	
private:
	Contnrs::TObjectList* fParts;
	
protected:
	virtual void __fastcall Decode(TBitStream* BS);
	virtual void __fastcall Encode(TBitStream* BS);
	
public:
	__property Contnrs::TObjectList* Parts = {read=fParts};
	__fastcall virtual TSMRTCommand(void);
	__fastcall virtual ~TSMRTCommand(void);
};


class DELPHICLASS TSMRingingTone;
class PASCALIMPLEMENTATION TSMRingingTone : public TSmartMessage 
{
	typedef TSmartMessage inherited;
	
private:
	Contnrs::TObjectList* fCommands;
	
protected:
	virtual AnsiString __fastcall Encode();
	virtual void __fastcall Decode(const AnsiString Value);
	
public:
	__property Contnrs::TObjectList* Commands = {read=fCommands};
	__fastcall virtual TSMRingingTone(void);
	__fastcall virtual ~TSMRingingTone(void);
	TSoundMelody* __fastcall CreateSoundMelody(void);
	void __fastcall AssignSoundMelody(TSoundMelody* Value);
};


class DELPHICLASS TSMMultipartMessage;
class PASCALIMPLEMENTATION TSMMultipartMessage : public TSmartMessage 
{
	typedef TSmartMessage inherited;
	
private:
	Contnrs::TObjectList* fMultiparts;
	
protected:
	virtual AnsiString __fastcall Encode();
	virtual void __fastcall Decode(const AnsiString Value);
	
public:
	__property Contnrs::TObjectList* Multiparts = {read=fMultiparts};
	__fastcall virtual TSMMultipartMessage(void);
	__fastcall virtual ~TSMMultipartMessage(void);
};


class DELPHICLASS TSMUnknown;
class PASCALIMPLEMENTATION TSMUnknown : public TSmartMessage 
{
	typedef TSmartMessage inherited;
	
private:
	AnsiString fData;
	Byte fMultipartType;
	
protected:
	__property Byte MultipartType = {read=fMultipartType, write=fMultipartType, nodefault};
	virtual AnsiString __fastcall Encode();
	virtual void __fastcall Decode(const AnsiString Value);
public:
	#pragma option push -w-inl
	/* TSmartMessage.Create */ inline __fastcall virtual TSMUnknown(void) : TSmartMessage() { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TSMUnknown(void) { }
	#pragma option pop
	
};


class DELPHICLASS TEMS;
class PASCALIMPLEMENTATION TEMS : public System::TObject 
{
	typedef System::TObject inherited;
	
private:
	Contnrs::TObjectList* fObjects;
	AnsiString fText;
	WideString __fastcall GetWideText();
	void __fastcall SetWideText(WideString Value);
	
public:
	__property AnsiString Text = {read=fText, write=fText};
	__property WideString WideText = {read=GetWideText, write=SetWideText};
	__property Contnrs::TObjectList* Objects = {read=fObjects};
	void __fastcall ReadFrom(TUDHProtocol* aProtocol);
	void __fastcall WriteTo(TUDHProtocol* aProtocol);
	__fastcall TEMS(void);
	__fastcall virtual ~TEMS(void);
};


typedef TMetaClass* TEMSObjectClass;

class DELPHICLASS TEMSObject;
class PASCALIMPLEMENTATION TEMSObject : public System::TObject 
{
	typedef System::TObject inherited;
	
private:
	AnsiString __fastcall GetIED();
	void __fastcall SetIED(const AnsiString Value);
	
protected:
	virtual Byte __fastcall GetIEI(void);
	virtual AnsiString __fastcall Encode(void) = 0 ;
	virtual void __fastcall Decode(const AnsiString Value) = 0 ;
	
public:
	__property Byte IEI = {read=GetIEI, nodefault};
	__property AnsiString IED = {read=GetIED, write=SetIED};
	/*         class method */ static TEMSObject* __fastcall CreateFromIEI(TMetaClass* vmt, Byte aIEI);
	__fastcall virtual TEMSObject(void);
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TEMSObject(void) { }
	#pragma option pop
	
};


class DELPHICLASS TEMSPosObject;
class PASCALIMPLEMENTATION TEMSPosObject : public TEMSObject 
{
	typedef TEMSObject inherited;
	
private:
	Byte fPos;
	
protected:
	virtual AnsiString __fastcall Encode();
	virtual void __fastcall Decode(const AnsiString Value);
	
__published:
	__property Byte Pos = {read=fPos, write=fPos, nodefault};
public:
	#pragma option push -w-inl
	/* TEMSObject.Create */ inline __fastcall virtual TEMSPosObject(void) : TEMSObject() { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TEMSPosObject(void) { }
	#pragma option pop
	
};


class DELPHICLASS TEMSUnknown;
class PASCALIMPLEMENTATION TEMSUnknown : public TEMSObject 
{
	typedef TEMSObject inherited;
	
private:
	AnsiString fData;
	
protected:
	virtual AnsiString __fastcall Encode();
	virtual void __fastcall Decode(const AnsiString Value);
	
__published:
	__property AnsiString Data = {read=fData, write=fData};
public:
	#pragma option push -w-inl
	/* TEMSObject.Create */ inline __fastcall virtual TEMSUnknown(void) : TEMSObject() { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TEMSUnknown(void) { }
	#pragma option pop
	
};


class DELPHICLASS TEMSTextFormat;
class PASCALIMPLEMENTATION TEMSTextFormat : public TEMSPosObject 
{
	typedef TEMSPosObject inherited;
	
private:
	Byte fLen;
	Byte fFormat;
	Byte fColor;
	void __fastcall SetFormatBool(int Index, const bool Value);
	void __fastcall SetFormatByte(int Index, const Byte Value);
	bool __fastcall GetFormatBool(int Index);
	Byte __fastcall GetFormatByte(int Index);
	Byte __fastcall GetColor(int Index);
	void __fastcall SetColor(int Index, const Byte Value);
	
protected:
	virtual AnsiString __fastcall Encode();
	virtual void __fastcall Decode(const AnsiString Value);
	
__published:
	__property Byte Len = {read=fLen, write=fLen, nodefault};
	__property Byte Alignment = {read=GetFormatByte, write=SetFormatByte, index=0, nodefault};
	__property Byte Size = {read=GetFormatByte, write=SetFormatByte, index=2, nodefault};
	__property bool Bold = {read=GetFormatBool, write=SetFormatBool, index=4, nodefault};
	__property bool Italic = {read=GetFormatBool, write=SetFormatBool, index=5, nodefault};
	__property bool Underlined = {read=GetFormatBool, write=SetFormatBool, index=6, nodefault};
	__property bool StrikeThrough = {read=GetFormatBool, write=SetFormatBool, index=7, nodefault};
	__property Byte ForegroundColor = {read=GetColor, write=SetColor, index=0, nodefault};
	__property Byte BackgroundColor = {read=GetColor, write=SetColor, index=4, nodefault};
public:
	#pragma option push -w-inl
	/* TEMSObject.Create */ inline __fastcall virtual TEMSTextFormat(void) : TEMSPosObject() { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TEMSTextFormat(void) { }
	#pragma option pop
	
};


class DELPHICLASS TEMSSoundPredef;
class PASCALIMPLEMENTATION TEMSSoundPredef : public TEMSPosObject 
{
	typedef TEMSPosObject inherited;
	
private:
	Byte fSoundId;
	
protected:
	virtual AnsiString __fastcall Encode();
	virtual void __fastcall Decode(const AnsiString Value);
	
__published:
	__property Byte SoundId = {read=fSoundId, write=fSoundId, nodefault};
public:
	#pragma option push -w-inl
	/* TEMSObject.Create */ inline __fastcall virtual TEMSSoundPredef(void) : TEMSPosObject() { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TEMSSoundPredef(void) { }
	#pragma option pop
	
};


class DELPHICLASS TEMSSoundUserDef;
class PASCALIMPLEMENTATION TEMSSoundUserDef : public TEMSPosObject 
{
	typedef TEMSPosObject inherited;
	
private:
	TDirectoryRecords* fRecords;
	
protected:
	virtual AnsiString __fastcall Encode();
	virtual void __fastcall Decode(const AnsiString Value);
	
__published:
	__property TDirectoryRecords* Records = {read=fRecords};
	
public:
	__fastcall virtual TEMSSoundUserDef(void);
	__fastcall virtual ~TEMSSoundUserDef(void);
	TSoundMelody* __fastcall CreateSoundMelody(void);
	void __fastcall AssignSoundMelody(TSoundMelody* Value, int X = 0x0, int Len = 0x7fffffff);
};


class DELPHICLASS TEMSAnimationPredef;
class PASCALIMPLEMENTATION TEMSAnimationPredef : public TEMSPosObject 
{
	typedef TEMSPosObject inherited;
	
private:
	Byte fAnimationId;
	
protected:
	virtual AnsiString __fastcall Encode();
	virtual void __fastcall Decode(const AnsiString Value);
	
__published:
	__property Byte AnimationId = {read=fAnimationId, write=fAnimationId, nodefault};
public:
	#pragma option push -w-inl
	/* TEMSObject.Create */ inline __fastcall virtual TEMSAnimationPredef(void) : TEMSPosObject() { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TEMSAnimationPredef(void) { }
	#pragma option pop
	
};


class DELPHICLASS TEMSPicture;
class PASCALIMPLEMENTATION TEMSPicture : public TEMSPosObject 
{
	typedef TEMSPosObject inherited;
	
private:
	bool fNoImageSize;
	Graphics::TBitmap* fImage;
	int fMinHeight;
	int fMaxHeight;
	int fMinWidth;
	int fMaxWidth;
	int __fastcall GetHeight(void);
	int __fastcall GetWidth(void);
	void __fastcall SetHeight(const int Value);
	void __fastcall SetWidth(const int Value);
	void __fastcall SetImage(const Graphics::TBitmap* Value);
	void __fastcall AdjustImage(void);
	
protected:
	virtual AnsiString __fastcall Encode();
	virtual void __fastcall Decode(const AnsiString Value);
	
__published:
	__property int Width = {read=GetWidth, write=SetWidth, nodefault};
	__property int Height = {read=GetHeight, write=SetHeight, nodefault};
	__property Graphics::TBitmap* Image = {read=fImage, write=SetImage};
	
public:
	__fastcall virtual TEMSPicture(void);
	__fastcall virtual ~TEMSPicture(void);
	void __fastcall ImportFromImage(Graphics::TBitmap* aBMP);
};


class DELPHICLASS TEMSPictureVariable;
class PASCALIMPLEMENTATION TEMSPictureVariable : public TEMSPicture 
{
	typedef TEMSPicture inherited;
	
public:
	#pragma option push -w-inl
	/* TEMSPicture.Create */ inline __fastcall virtual TEMSPictureVariable(void) : TEMSPicture() { }
	#pragma option pop
	#pragma option push -w-inl
	/* TEMSPicture.Destroy */ inline __fastcall virtual ~TEMSPictureVariable(void) { }
	#pragma option pop
	
};


class DELPHICLASS TEMSPictureSmall;
class PASCALIMPLEMENTATION TEMSPictureSmall : public TEMSPicture 
{
	typedef TEMSPicture inherited;
	
public:
	__fastcall virtual TEMSPictureSmall(void);
public:
	#pragma option push -w-inl
	/* TEMSPicture.Destroy */ inline __fastcall virtual ~TEMSPictureSmall(void) { }
	#pragma option pop
	
};


class DELPHICLASS TEMSPictureLarge;
class PASCALIMPLEMENTATION TEMSPictureLarge : public TEMSPicture 
{
	typedef TEMSPicture inherited;
	
public:
	__fastcall virtual TEMSPictureLarge(void);
public:
	#pragma option push -w-inl
	/* TEMSPicture.Destroy */ inline __fastcall virtual ~TEMSPictureLarge(void) { }
	#pragma option pop
	
};


class DELPHICLASS TEMSAnimation;
class PASCALIMPLEMENTATION TEMSAnimation : public TEMSPosObject 
{
	typedef TEMSPosObject inherited;
	
private:
	Graphics::TBitmap* fImages[4];
	int fMinHeight;
	int fMaxHeight;
	int fMinWidth;
	int fMaxWidth;
	int __fastcall GetHeight(void);
	int __fastcall GetWidth(void);
	void __fastcall SetHeight(const int Value);
	void __fastcall SetWidth(const int Value);
	void __fastcall SetImage(int Index, const Graphics::TBitmap* Value);
	void __fastcall AdjustImages(void);
	void __fastcall CheckImageIndex(int I);
	Graphics::TBitmap* __fastcall GetImage(int Index);
	
protected:
	virtual AnsiString __fastcall Encode();
	virtual void __fastcall Decode(const AnsiString Value);
	
__published:
	__property int Width = {read=GetWidth, write=SetWidth, nodefault};
	__property int Height = {read=GetHeight, write=SetHeight, nodefault};
	
public:
	__property Graphics::TBitmap* Images[int Index] = {read=GetImage, write=SetImage};
	__fastcall virtual TEMSAnimation(void);
	__fastcall virtual ~TEMSAnimation(void);
	void __fastcall ImportFromImage(Graphics::TBitmap* aBMP);
	void __fastcall ExportToImage(Graphics::TBitmap* aBMP);
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -