mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 22:13:07 +01:00
Move loadsave dialog
This commit is contained in:
@@ -13,9 +13,9 @@ Intent::putExtra(uint32 key, uint32 value)
|
||||
return this;
|
||||
}
|
||||
Intent *
|
||||
Intent::putExtra(uint32 key, uintptr_t value)
|
||||
Intent::putExtra(uint32 key, void * value)
|
||||
{
|
||||
_Pointers.insert(std::make_pair(key, value));
|
||||
_Pointers.insert(std::make_pair(key, (uintptr_t) value));
|
||||
|
||||
return this;
|
||||
}
|
||||
@@ -74,5 +74,20 @@ extern "C" {
|
||||
{
|
||||
intent->putExtra(key, value);
|
||||
}
|
||||
|
||||
void intent_set_string(Intent *intent, uint32 key, utf8string value)
|
||||
{
|
||||
intent->putExtra(key, value);
|
||||
}
|
||||
|
||||
void intent_set_pointer(Intent *intent, uint32 key, void *value)
|
||||
{
|
||||
intent->putExtra(key, value);
|
||||
}
|
||||
|
||||
void intent_set_uint(Intent *intent, uint32 key, uint32 value)
|
||||
{
|
||||
intent->putExtra(key, value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user