Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
24
Src/Winamp/IntAttribute.cpp
Normal file
24
Src/Winamp/IntAttribute.cpp
Normal file
|
@ -0,0 +1,24 @@
|
|||
#include "main.h"
|
||||
#include "attributes.h"
|
||||
|
||||
_int::_int()
|
||||
{
|
||||
value = 0;
|
||||
}
|
||||
|
||||
_int::_int(intptr_t defaultValue)
|
||||
{
|
||||
value = defaultValue;
|
||||
}
|
||||
|
||||
intptr_t _int::operator =(intptr_t uintValue)
|
||||
{
|
||||
value = uintValue;
|
||||
return value;
|
||||
}
|
||||
|
||||
#define CBCLASS _int
|
||||
START_DISPATCH;
|
||||
CB(IFC_CONFIGITEM_GETINT, GetInt)
|
||||
CB(IFC_CONFIGITEM_GETFLOAT, GetFloat)
|
||||
END_DISPATCH;
|
Loading…
Add table
Add a link
Reference in a new issue