Formats.DDSImage.hpp 4.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. // CodeGear C++Builder
  2. // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
  3. // All rights reserved
  4. // (DO NOT EDIT: machine generated header) 'Formats.DDSImage.pas' rev: 36.00 (Windows)
  5. #ifndef Formats_DDSImageHPP
  6. #define Formats_DDSImageHPP
  7. #pragma delphiheader begin
  8. #pragma option push
  9. #if defined(__BORLANDC__) && !defined(__clang__)
  10. #pragma option -w- // All warnings off
  11. #pragma option -Vx // Zero-length empty class member
  12. #endif
  13. #pragma pack(push,8)
  14. #include <System.hpp>
  15. #include <SysInit.hpp>
  16. #include <Winapi.Windows.hpp>
  17. #include <System.Classes.hpp>
  18. #include <System.SysUtils.hpp>
  19. #include <Vcl.Graphics.hpp>
  20. #include <Stage.VectorTypes.hpp>
  21. #include <Stage.OpenGLTokens.hpp>
  22. #include <Stage.VectorGeometry.hpp>
  23. #include <GLS.Graphics.hpp>
  24. #include <GLS.Context.hpp>
  25. #include <GLS.FileDDS.hpp>
  26. #include <Stage.TextureFormat.hpp>
  27. //-- user supplied -----------------------------------------------------------
  28. namespace Formats
  29. {
  30. namespace Ddsimage
  31. {
  32. //-- forward type declarations -----------------------------------------------
  33. class DELPHICLASS TDDSImage;
  34. class DELPHICLASS EDDSException;
  35. //-- type declarations -------------------------------------------------------
  36. class PASCALIMPLEMENTATION TDDSImage : public Vcl::Graphics::TBitmap
  37. {
  38. typedef Vcl::Graphics::TBitmap inherited;
  39. public:
  40. virtual void __fastcall LoadFromStream(System::Classes::TStream* stream);
  41. virtual void __fastcall SaveToStream(System::Classes::TStream* stream);
  42. public:
  43. /* TBitmap.Create */ inline __fastcall virtual TDDSImage()/* overload */ : Vcl::Graphics::TBitmap() { }
  44. /* TBitmap.Create */ inline __fastcall TDDSImage(int AWidth, int AHeight)/* overload */ : Vcl::Graphics::TBitmap(AWidth, AHeight) { }
  45. /* TBitmap.Destroy */ inline __fastcall virtual ~TDDSImage() { }
  46. };
  47. #pragma pack(push,4)
  48. class PASCALIMPLEMENTATION EDDSException : public System::Sysutils::Exception
  49. {
  50. typedef System::Sysutils::Exception inherited;
  51. public:
  52. /* Exception.Create */ inline __fastcall EDDSException(const System::UnicodeString Msg) : System::Sysutils::Exception(Msg) { }
  53. /* Exception.CreateFmt */ inline __fastcall EDDSException(const System::UnicodeString Msg, const System::TVarRec *Args, const System::NativeInt Args_High) : System::Sysutils::Exception(Msg, Args, Args_High) { }
  54. /* Exception.CreateRes */ inline __fastcall EDDSException(System::NativeUInt Ident)/* overload */ : System::Sysutils::Exception(Ident) { }
  55. /* Exception.CreateRes */ inline __fastcall EDDSException(System::PResStringRec ResStringRec)/* overload */ : System::Sysutils::Exception(ResStringRec) { }
  56. /* Exception.CreateResFmt */ inline __fastcall EDDSException(System::NativeUInt Ident, const System::TVarRec *Args, const System::NativeInt Args_High)/* overload */ : System::Sysutils::Exception(Ident, Args, Args_High) { }
  57. /* Exception.CreateResFmt */ inline __fastcall EDDSException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const System::NativeInt Args_High)/* overload */ : System::Sysutils::Exception(ResStringRec, Args, Args_High) { }
  58. /* Exception.CreateHelp */ inline __fastcall EDDSException(const System::UnicodeString Msg, int AHelpContext) : System::Sysutils::Exception(Msg, AHelpContext) { }
  59. /* Exception.CreateFmtHelp */ inline __fastcall EDDSException(const System::UnicodeString Msg, const System::TVarRec *Args, const System::NativeInt Args_High, int AHelpContext) : System::Sysutils::Exception(Msg, Args, Args_High, AHelpContext) { }
  60. /* Exception.CreateResHelp */ inline __fastcall EDDSException(System::NativeUInt Ident, int AHelpContext)/* overload */ : System::Sysutils::Exception(Ident, AHelpContext) { }
  61. /* Exception.CreateResHelp */ inline __fastcall EDDSException(System::PResStringRec ResStringRec, int AHelpContext)/* overload */ : System::Sysutils::Exception(ResStringRec, AHelpContext) { }
  62. /* Exception.CreateResFmtHelp */ inline __fastcall EDDSException(System::PResStringRec ResStringRec, const System::TVarRec *Args, const System::NativeInt Args_High, int AHelpContext)/* overload */ : System::Sysutils::Exception(ResStringRec, Args, Args_High, AHelpContext) { }
  63. /* Exception.CreateResFmtHelp */ inline __fastcall EDDSException(System::NativeUInt Ident, const System::TVarRec *Args, const System::NativeInt Args_High, int AHelpContext)/* overload */ : System::Sysutils::Exception(Ident, Args, Args_High, AHelpContext) { }
  64. /* Exception.Destroy */ inline __fastcall virtual ~EDDSException() { }
  65. };
  66. #pragma pack(pop)
  67. //-- var, const, procedure ---------------------------------------------------
  68. } /* namespace Ddsimage */
  69. } /* namespace Formats */
  70. #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_FORMATS_DDSIMAGE)
  71. using namespace Formats::Ddsimage;
  72. #endif
  73. #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_FORMATS)
  74. using namespace Formats;
  75. #endif
  76. #pragma pack(pop)
  77. #pragma option pop
  78. #pragma delphiheader end.
  79. //-- end unit ----------------------------------------------------------------
  80. #endif // Formats_DDSImageHPP