AudRecordLib
|
00001 00007 #ifndef AUDRECORDCLI_ENDPOINTWRAP_H 00008 #define AUDRECORDCLI_ENDPOINTWRAP_H 00009 00010 #pragma once 00011 00012 namespace AudRecordCLI 00013 { 00015 public ref struct Endpoint 00016 { 00018 property String^ Name 00019 { 00020 String^ get() 00021 { 00022 return name; 00023 } 00024 internal: 00025 void set(String^ newName) 00026 { 00027 name = newName; 00028 } 00029 } 00030 internal: 00032 property Object^ Interface; 00033 private: 00035 String^ name; 00036 }; 00037 00039 typedef List<Endpoint^> EndpointList; 00040 00042 public value struct Endpoints abstract sealed 00043 { 00045 static EndpointList^ Get(); 00046 }; 00047 } 00048 00051 #endif