예제 #1
0
///////////////////////////////////////////////////////////////////////////////
/// @fn FB::variant ibrowserAPI::echo(const FB::variant& msg)
///
/// @brief  Echos whatever is passed from Javascript.
///         Go ahead and change it. See what happens!
///////////////////////////////////////////////////////////////////////////////
FB::variant ibrowserAPI::echo(const FB::variant& msg)
{
    static int n(0);
    fire_echo("So far, you clicked this many times: ", n++);
    // return "foobar";
    return msg;
}
예제 #2
0
파일: AXRAPI.cpp 프로젝트: axr/plugin
/*!
 * @brief Echos whatever is passed from Javascript.
 *        Go ahead and change it. See what happens!
 */
FB::variant AXRAPI::echo(const FB::variant& msg)
{
    static int n(0);
    fire_echo("So far, you clicked this many times: ", n++);

    return msg;
}
예제 #3
0
///////////////////////////////////////////////////////////////////////////////
/// @fn FB::variant SmartFilesAPI::echo(const FB::variant& msg)
///
/// @brief  Echos whatever is passed from Javascript.
///         Go ahead and change it. See what happens!
///////////////////////////////////////////////////////////////////////////////
FB::variant SmartFilesAPI::echo(const FB::variant& msg)
{
    static int n(0);
    fire_echo("So far, you clicked this MOOFOOO this many times: ", n++);

    // return "foobar";
    return msg;
}
예제 #4
0
void SmartFilesAPI::openFileDialog()
{
    //static int n(0);
    fire_echo("Got open file dialog!!", 2);

    // return "foobar";
    //return msg;
}
예제 #5
0
// Method echo
FB::variant hapticAPI::echo(const FB::variant& msg)
{
    static int n(0);
    fire_echo(msg, n++);
    return msg;
}
예제 #6
0
// Method echo
FB::variant WebrtcPluginAPI::echo(const FB::variant& msg)
{
    static int n(0);
    fire_echo(msg, n++);
    return msg;
}
예제 #7
0
// Method echo
FB::variant btlauncherAPI::echo(const FB::variant& msg)
{
    static int n(0);
    fire_echo(msg, n++);
    return msg;
}