PSP2SDK  dirty-f9e4f2d
The free SDK for PSP2
Data Structures | Defines | Typedefs | Enumerations | Functions
include/psp2/appmgr.h File Reference

Header file which defines control related variables and functions. More...

#include <psp2/types.h>
Include dependency graph for appmgr.h:

Go to the source code of this file.

Data Structures

struct  SceAppMgrSystemEvent
struct  sceAppMgrLoadExecOptParam

Defines

#define SCE_APPMGR_MAX_APP_NAME_LENGTH   (31)

Typedefs

typedef struct SceAppMgrSystemEvent SceAppMgrSystemEvent
typedef struct SceAppMgrAppState SceAppMgrAppState
typedef struct
SceAppMgrExecOptParam 
SceAppMgrExecOptParam
typedef struct
sceAppMgrLoadExecOptParam 
sceAppMgrLoadExecOptParam

Enumerations

enum  {
  SCE_APPMGR_ERROR_BUSY = 0x80802000, SCE_APPMGR_ERROR_STATE = 0x80802013, SCE_APPMGR_ERROR_NULL_POINTER = 0x80802016, SCE_APPMGR_ERROR_INVALID = 0x8080201a,
  SCE_APPMGR_ERROR_INVALID_SELF_PATH = 0x8080201e, SCE_APPMGR_ERROR_TOO_LONG_ARGV = 0x8080201d
}
enum  { SCE_APPMGR_SYSTEMEVENT_ON_RESUME = 0x10000003, SCE_APPMGR_SYSTEMEVENT_ON_STORE_PURCHASE = 0x10000004, SCE_APPMGR_SYSTEMEVENT_ON_NP_MESSAGE_ARRIVED = 0x10000005, SCE_APPMGR_SYSTEMEVENT_ON_STORE_REDEMPTION = 0x10000006 }
enum  { SCE_APPMGR_INFOBAR_VISIBILITY_INVISIBLE = 0, SCE_APPMGR_INFOBAR_VISIBILITY_VISIBLE = 1 }
enum  { SCE_APPMGR_INFOBAR_COLOR_BLACK = 0, SCE_APPMGR_INFOBAR_COLOR_WHITE = 1 }
enum  { SCE_APPMGR_INFOBAR_TRANSPARENCY_OPAQUE = 0, SCE_APPMGR_INFOBAR_TRANSPARENCY_TRANSLUCENT = 1 }

Functions

int _sceAppMgrGetAppState (SceAppMgrAppState *appState, uint32_t len, uint32_t version)
int sceAppMgrRecieveSystemEvent (SceAppMgrSystemEvent *systemEvent)
int sceAppMgrAcquireBgmPort (void)
 Obtains the BGM port, even when it is not in front.
int sceAppMgrReleaseBgmPort (void)
 Release acquired BGM port.
int sceAppMgrSetInfobarState (int visibility, int color, int transparency)
 Set infobar state.
int sceAppMgrLoadExec (const char *appPath, char *const argv[], const SceAppMgrExecOptParam *optParam)

Detailed Description

Header file which defines control related variables and functions.

Copyright (C) 2015 PSP2SDK Project

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.


Enumeration Type Documentation

anonymous enum
Enumerator:
SCE_APPMGR_ERROR_BUSY 

Busy.

SCE_APPMGR_ERROR_STATE 

Invalid state.

SCE_APPMGR_ERROR_NULL_POINTER 

NULL pointer.

Invalid param

SCE_APPMGR_ERROR_INVALID 

Invalid self path.

SCE_APPMGR_ERROR_INVALID_SELF_PATH 

argv is too long


Function Documentation

static __inline int sceAppMgrGetAppState(SceAppMgrAppState *appState) { return _sceAppMgrGetAppState(appState, sizeof(SceAppMgrAppState), version); };

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines