zdk.net
Sound.h
1 //
2 // Sound.h
3 // ZDK
4 //
5 
6 #ifndef ZDK_NET_Sound_h
7 #define ZDK_NET_Sound_h
8 
9 #include "native_shared_ptr.h"
10 #include "PublicInterfaces.h"
11 #include "ZHandle.h"
12 
13 using namespace System::Collections::Generic;
14 
15 namespace ZDK_NET
16 {
17 
20  public ref class Sound : ZHandle
21  {
22  public:
23  ZDK::ISound* cppRef = nullptr;
24 
25  Sound(ZDK::Shared::Sound src);
26  ~Sound();
27  !Sound();
28 
35  property long long SoundHandle
36  {
37  long long get();
38  }
39 
44  property System::String^ Path
45  {
46  System::String^ get();
47  }
48 
49  property int Frequency
50  {
51  int get();
52  }
53 
54  property int LengthSamples
55  {
56  int get();
57  }
58 
59  property int ApproximateLengthMs
60  {
61  int get();
62  }
63 
64  property int ChannelCount
65  {
66  int get();
67  }
68 
69  property bool Repeat
70  {
71  bool get();
72  }
73 
74  property int Pause
75  {
76  int get();
77  }
78 
79  virtual long long Handle() override;
80 
81  virtual void Initialize() override;
82 
83  virtual void ReleaseReference() override;
84 
85  };
86 }
87 
88 #endif
ZDK_NET::Sound
ZDK Sound description.
Definition: Sound.h:21
ZDK_NET::ZHandle
Definition: ZHandle.h:18