2015-07-30 03:43:03 +02:00
|
|
|
#include "stdafx.h"
|
2016-03-21 20:43:03 +01:00
|
|
|
#include "Emu/Cell/PPUModule.h"
|
2015-07-30 03:43:03 +02:00
|
|
|
|
2016-05-13 15:55:34 +02:00
|
|
|
logs::channel cellOskDialog("cellOskDialog", logs::level::notice);
|
2015-07-30 03:43:03 +02:00
|
|
|
|
|
|
|
|
s32 cellOskDialogLoadAsync()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogUnloadAsync()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogGetSize()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogAbort()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogSetDeviceMask()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogSetSeparateWindowOption()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogSetInitialInputDevice()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogSetInitialKeyLayout()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogDisableDimmer()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogSetKeyLayoutOption()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogAddSupportLanguage()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogSetLayoutMode()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogGetInputText()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogExtInputDeviceUnlock()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogExtRegisterKeyboardEventHookCallback()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogExtAddJapaneseOptionDictionary()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogExtEnableClipboard()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogExtSendFinishMessage()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogExtAddOptionDictionary()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogExtSetInitialScale()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogExtInputDeviceLock()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogExtSetBaseColor()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogExtRegisterConfirmWordFilterCallback()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogExtUpdateInputText()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogExtDisableHalfByteKana()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogExtSetPointerEnable()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogExtUpdatePointerDisplayPos()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogExtEnableHalfByteKana()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
s32 cellOskDialogExtRegisterForceFinishCallback()
|
|
|
|
|
{
|
2016-08-08 18:01:06 +02:00
|
|
|
fmt::throw_exception("Unimplemented" HERE);
|
2015-07-30 03:43:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void cellSysutil_OskDialog_init()
|
|
|
|
|
{
|
|
|
|
|
REG_FUNC(cellSysutil, cellOskDialogLoadAsync);
|
|
|
|
|
REG_FUNC(cellSysutil, cellOskDialogUnloadAsync);
|
|
|
|
|
REG_FUNC(cellSysutil, cellOskDialogGetSize);
|
|
|
|
|
REG_FUNC(cellSysutil, cellOskDialogAbort);
|
|
|
|
|
REG_FUNC(cellSysutil, cellOskDialogSetDeviceMask);
|
|
|
|
|
REG_FUNC(cellSysutil, cellOskDialogSetSeparateWindowOption);
|
|
|
|
|
REG_FUNC(cellSysutil, cellOskDialogSetInitialInputDevice);
|
|
|
|
|
REG_FUNC(cellSysutil, cellOskDialogSetInitialKeyLayout);
|
|
|
|
|
REG_FUNC(cellSysutil, cellOskDialogDisableDimmer);
|
|
|
|
|
REG_FUNC(cellSysutil, cellOskDialogSetKeyLayoutOption);
|
|
|
|
|
REG_FUNC(cellSysutil, cellOskDialogAddSupportLanguage);
|
|
|
|
|
REG_FUNC(cellSysutil, cellOskDialogSetLayoutMode);
|
|
|
|
|
REG_FUNC(cellSysutil, cellOskDialogGetInputText);
|
|
|
|
|
}
|
|
|
|
|
|
2016-03-21 20:43:03 +01:00
|
|
|
DECLARE(ppu_module_manager::cellOskDialog)("cellOskExtUtility", []()
|
|
|
|
|
{
|
|
|
|
|
REG_FUNC(cellOskExtUtility, cellOskDialogExtInputDeviceUnlock);
|
|
|
|
|
REG_FUNC(cellOskExtUtility, cellOskDialogExtRegisterKeyboardEventHookCallback);
|
|
|
|
|
REG_FUNC(cellOskExtUtility, cellOskDialogExtAddJapaneseOptionDictionary);
|
|
|
|
|
REG_FUNC(cellOskExtUtility, cellOskDialogExtEnableClipboard);
|
|
|
|
|
REG_FUNC(cellOskExtUtility, cellOskDialogExtSendFinishMessage);
|
|
|
|
|
REG_FUNC(cellOskExtUtility, cellOskDialogExtAddOptionDictionary);
|
|
|
|
|
REG_FUNC(cellOskExtUtility, cellOskDialogExtSetInitialScale);
|
|
|
|
|
REG_FUNC(cellOskExtUtility, cellOskDialogExtInputDeviceLock);
|
|
|
|
|
REG_FUNC(cellOskExtUtility, cellOskDialogExtSetBaseColor);
|
|
|
|
|
REG_FUNC(cellOskExtUtility, cellOskDialogExtRegisterConfirmWordFilterCallback);
|
|
|
|
|
REG_FUNC(cellOskExtUtility, cellOskDialogExtUpdateInputText);
|
|
|
|
|
REG_FUNC(cellOskExtUtility, cellOskDialogExtDisableHalfByteKana);
|
|
|
|
|
REG_FUNC(cellOskExtUtility, cellOskDialogExtSetPointerEnable);
|
|
|
|
|
REG_FUNC(cellOskExtUtility, cellOskDialogExtUpdatePointerDisplayPos);
|
|
|
|
|
REG_FUNC(cellOskExtUtility, cellOskDialogExtEnableHalfByteKana);
|
|
|
|
|
REG_FUNC(cellOskExtUtility, cellOskDialogExtRegisterForceFinishCallback);
|
2015-07-30 03:43:03 +02:00
|
|
|
});
|