diff options
Diffstat (limited to 'Src/Winamp/UnsignedAttribute.cpp')
-rw-r--r-- | Src/Winamp/UnsignedAttribute.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Src/Winamp/UnsignedAttribute.cpp b/Src/Winamp/UnsignedAttribute.cpp new file mode 100644 index 00000000..e5fe5726 --- /dev/null +++ b/Src/Winamp/UnsignedAttribute.cpp @@ -0,0 +1,23 @@ +#include "main.h" +#include "attributes.h" + +_unsigned::_unsigned() +{ + value = 0; +} + +_unsigned::_unsigned(uintptr_t defaultValue) +{ + value = defaultValue; +} + +uintptr_t _unsigned::operator =(uintptr_t uintValue) +{ + value = uintValue; + return value; +} + +#define CBCLASS _unsigned +START_DISPATCH; +CB(IFC_CONFIGITEM_GETUNSIGNED, GetUnsigned) +END_DISPATCH;
\ No newline at end of file |