- Main Page
- Classes
- Files

- File List
- File Members

# flNotify.h

Go to the documentation of this file.

    00001 // Funclib Notify v1.0.0 (CORE)
    00002 //
    00003 // This module contains functions for notifyin the user about the psp's status
    00004 // It shows simple volume and battery guages.
    00005 //
    00006 // Contributor(s): Flatmush (Based off the timer class in the PSP NeHe tutorial ports)
    00007
    00008
    00009
    00010 #ifndef FLNOTIFY_H
    00011 #define FLNOTIFY_H
    00012
    00013 #include "flGlobal.h"
    00014
    00015 #if FL_NOTIFY != 0
    00016
    00017 #ifdef __cplusplus
    00018 extern "C" {
    00019 #endif
    00020
    00021 #if FL_NOTIFY_TRAYSIZE
    00022 typedef struct {
    00023      char  ntiMessage[248];
    00024      u32   ntiColor;
    00025      float ntiTime;
    00026 } NotifyTrayItem;
    00027 #endif
    00028
    00029 extern void ntfyInit();
    00030 extern void ntfyTick();
    00031 extern void ntfyShowAll(float inTime);
    00032
    00033 #if FL_KERNELMODE
    00034 extern void ntfyCheckVolume();
    00035 #endif
    00036 extern void ntfyCheckBattery();
    00037 extern void ntfyCheckTime();
    00038
    00039 #if FL_KERNELMODE
    00040 extern void ntfyShowVolume();
    00041 #endif
    00042 extern void ntfyShowBattery();
    00043 extern void ntfyShowTime();
    00044 extern void ntfyShowDate();
    00045
    00046 #if FL_NOTIFY_TRAYSIZE
    00047 extern void ntfyTrayAdd(char* inMessage, u32 inColor);
    00048 extern void ntfyTrayTick();
    00049 extern void ntfyTrayShow();
    00050 #endif
    00051
    00052 #ifdef __cplusplus
    00053 }
    00054 #endif
    00055
    00056 #endif
    00057
    00058 #endif