Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

appmgr_prv.h File Reference


Detailed Description

Header file for PRIVATE MAX Application Manager APIs. Contains the private API for the application server and its associated client library. This is really just the message packing & unpacking APIs which are shared between the server & the client library implementation.

#include <hiker/pdk/appmgr_pdk.h>

Go to the source code of this file.

Defines

#define ALP_APP_WATCHER_UNBLOCK   0
#define ALP_APP_WATCHER_BLOCK   1
#define ALP_APP_WATCHER_IGNORE   2
#define ALP_APP_SERVER_CHANNEL   "ALP AppServer"
 The name of the communications channel used by the appserver. For use with alp_channel_connect().

Enumerations

enum  AlpAppServerFlags {
  ALP_APP_SERVER_FLAG_NONE = 0, ALP_APP_SERVER_FLAG_EXIT_CLEAN = (1 << 0), ALP_APP_SERVER_FLAG_WAITING_FOR_REPLY = (1 << 1), ALP_APP_SERVER_FLAG_NO_JUMP_LIST = (1 << 2),
  ALP_APP_SERVER_FLAG_ALWAYS_JUMP_LIST = (1 << 3)
}
enum  AlpAppMsgID {
  ALP_APP_MSG_ID_LAUNCH = 1, ALP_APP_MSG_ID_REGISTER, ALP_APP_MSG_ID_UNREGISTER, ALP_APP_MSG_ID_EXIT,
  ALP_APP_MSG_ID_DIAGNOSTIC, ALP_APP_MSG_ID_LAUNCH_REPLY, ALP_APP_MSG_ID_BACKGROUNDING, ALP_APP_MSG_ID_FLUSH,
  ALP_APP_MSG_ID_JUMP_LIST_REQ, ALP_APP_MSG_ID_JUMP_LIST, ALP_APP_MSG_ID_CUR_APP, ALP_APP_MSG_ID_WATCHER,
  ALP_APP_MSG_ID_RETIRE, ALP_APP_MSG_ID_THEME_UPDATE, ALP_APP_MSG_ID_RESET
}

Functions

AlpMessagealp_app_prv_make_launch_msg (const char *appID, int argc, char *const argv[], gboolean waitForPID)
 Utility API to create a new AlpMessage containing a launch request.
alp_status_t alp_app_prv_unpack_launch_msg (AlpMessage *msg, int *outArgc, char ***outArgv, gboolean *waitForPID)
 Utility API to unpack the contents of an AlpMessage containing a launch request.
AlpMessagealp_app_prv_make_exit_msg (const char *pkgID)
 Utility API to create a new AlpMessage containing an exit request.
alp_status_t alp_app_prv_unpack_exit_msg (AlpMessage *msg, char **pkgID)
 Utility API to unpack the contents of an AlpMessage containing an exit request.
AlpMessagealp_app_prv_make_retire_msg (const char *appID)
 Utility API to create a new AlpMessage containing a retire request.
alp_status_t alp_app_prv_unpack_retire_msg (AlpMessage *msg, char **appID)
 Utility API to unpack the contents of an AlpMessage containing an retire request.
AlpMessagealp_app_prv_make_backgrounding_msg (AlpAppBackgroundingType newBG)
 Utility API to create a new AlpMessage containing a "set backgrounding" request.
alp_status_t alp_app_prv_unpack_backgrounding_msg (AlpMessage *msg, AlpAppBackgroundingType *outBG)
 Utility API to unpack the contents of an AlpMessage containing a "set backgrounding" request.
AlpMessagealp_app_prv_make_register_msg (const char *pkgID, pid_t appPID, guint32 flags, const char *lpScheme)
 Utility API to create a new AlpMessage containing an app registration.
alp_status_t alp_app_prv_unpack_register_msg (AlpMessage *msg, char **appID, pid_t *appPID, guint32 *flags, char **lpScheme)
 Utility API to unpack the contents of an AlpMessage containing an app registration.
AlpMessagealp_app_prv_make_unregister_msg (int result)
 Utility API to create a new AlpMessage containing an unregistration message.
alp_status_t alp_app_prv_unpack_unregister_msg (AlpMessage *msg, int *result)
 Utility API to unpack the contents of an AlpMessage containing an unregistration message.
AlpMessagealp_app_prv_make_diagnostic_msg (const char *appID, const char *str)
 Utility API to create a new AlpMessage containing a diagnostic message.
alp_status_t alp_app_prv_unpack_diagnostic_msg (AlpMessage *msg, char **pkgID, char **str)
 Utility API to unpack the contents of an AlpMessage containing a diagnostic message.
AlpMessagealp_app_prv_make_launch_reply_msg (AlpMessage *replyTo, const char *appID, alp_status_t launchErr, pid_t appPID)
 Utility API to pack the contents of an AlpMessage containing a launch reply message.
alp_status_t alp_app_prv_unpack_launch_reply_msg (AlpMessage *msg, char **appID, alp_status_t *launchErr, pid_t *appPID)
 Utility API to unpack the contents of an AlpMessage containing a launch reply message.
AlpMessagealp_app_prv_make_flush_msg (AlpMessage *replyTo)
 Utility API to pack the contents of an AlpMessage containing a flush message.
AlpMessagealp_app_prv_make_jump_list_request_msg (void)
 Utility API to pack the contents of an AlpMessage containing a request for the current jumplist apps.
AlpMessagealp_app_prv_make_jump_list_msg (AlpMessage *replyTo, int count, char *const appIDs[], const gboolean *isRunnings)
 Utility API to pack the contents of an AlpMessage containing the current jumplist apps.
alp_status_t alp_app_prv_unpack_jump_list_msg (AlpMessage *msg, int *count, char ***appIDs, gboolean **isRunnings)
 Utility API to unpack the contents of an AlpMessage containing the current jumplist apps.
AlpMessagealp_app_prv_make_cur_app_msg (AlpMessage *replyTo, const char *pkgID)
 Utility API to pack the contents of an AlpMessage containing a request/response for the current primary app name.
alp_status_t alp_app_prv_unpack_cur_app_msg (AlpMessage *msg, char **outPkgID)
 Utility API to unpack the contents of an AlpMessage containing a request/response for the current primary app name.
AlpMessagealp_app_prv_make_watcher_msg (AlpMessage *replyTo, const char *pkgID, AlpWatcherRef watcherRef, gboolean wasRun, gboolean remove, alp_status_t result, gint blockMode)
 Utility API to pack the contents of an AlpMessage containing a request/response for the "watcher" APIs.
alp_status_t alp_app_prv_unpack_watcher_msg (AlpMessage *msg, char **outPkgID, AlpWatcherRef *outWatcherRef, gboolean *outWasRun, gboolean *outRemove, alp_status_t *outResult, gint *outBlockMode)
 Utility API to unpack the contents of an AlpMessage containing a request/response for the "watcher" APIs.
AlpMessagealp_app_prv_make_theme_update_msg (void)
 Utility API to make a theme update message.
AlpMessagealp_app_prv_make_reset_msg (void)
 Utility API to make a system reset message.
alp_status_t alp_app_prv_pack_argv (AlpMessage *msg, const char *pkgID, int argc, char *const argv[])
 Pack an argc/argv style argument list from AlpMessage structures.
alp_status_t alp_app_prv_unpack_argv (AlpMessage *msg, int *outArgc, char ***outArgv)
 Unpacking an argc/argv style argument list from AlpMessage structures.


Generated on Sat Dec 16 20:29:48 2006 for hiker-0.9 by  doxygen 1.4.4