#define SF_PLATFORM_APP_ARGS(AppPackageId, AppClass, args) \ SF_PLATFORM_SYSTEM_APP_ARGS(AppPackageId, Scaleform::System, AppClass, args) #define SF_PLATFORM_APP(AppPackageId, AppClass) SF_PLATFORM_APP_ARGS(AppPackageId, AppClass, ())
SF_PLATFORM_APP(AppPackageId, AppClass) macro is used instead of main(), providing the startup application class for the program. The package Id is used as a unique identifier for the application on some platforms. It should match the name of the executable.
SF_PLATFORM_APP_ARGS macro takes optional application class constructor arguments, in parenthesis as follows: SF_PLATFORM_APP_ARGS(MyApp, MyApp, ( "Title", 800, 600)).
Platform.h