libui/haiku/datetimepicker.cpp

42 lines
776 B
C++
Raw Normal View History

// 18 november 2015
#include "uipriv_haiku.hpp"
struct uiDateTimePicker {
uiHaikuControl c;
BStringView *dummy;
};
uiHaikuDefineControl(
uiDateTimePicker, // type name
uiDateTimePickerType, // type function
dummy // handle
)
static uiDateTimePicker *finishNewDateTimePicker(void)
{
uiDateTimePicker *d;
d = (uiDateTimePicker *) uiNewControl(uiDateTimePickerType());
2015-11-20 13:11:55 -06:00
d->dummy = new BStringView(NULL, "TODO uiDateTimePicker not implemented");
uiHaikuFinishNewControl(d, uiDateTimePicker);
return d;
}
uiDateTimePicker *uiNewDateTimePicker(void)
{
return finishNewDateTimePicker();
}
uiDateTimePicker *uiNewDatePicker(void)
{
return finishNewDateTimePicker();
}
uiDateTimePicker *uiNewTimePicker(void)
{
return finishNewDateTimePicker();
}