webOS Userland
Native system APIs for webOS
lgnc_plugin.h File Reference

APIs for plugin-typed application. More...

#include "lgnc_openapi_types.h"
Include dependency graph for lgnc_plugin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int LGNC_PLUGIN_Initialize (LGNC_CALLBACKS_T *callbacks)
 Initializes as plugin. More...
 
int LGNC_PLUGIN_SetAppId (const char *appId)
 Set application ID. More...
 
int LGNC_PLUGIN_Finalize ()
 

Detailed Description

APIs for plugin-typed application.

Function Documentation

◆ LGNC_PLUGIN_Initialize()

int LGNC_PLUGIN_Initialize ( LGNC_CALLBACKS_T callbacks)

Initializes as plugin.

Parameters
callbacksEvent callbacks, must not be NULL.
Returns
0 if succeeded

◆ LGNC_PLUGIN_SetAppId()

int LGNC_PLUGIN_SetAppId ( const char *  appId)

Set application ID.

Must be called AFTER LGNC_PLUGIN_Initialize.

Parameters
appIdApplication ID, e.g. "com.example.application"
Returns
0 if succeeded