00001
00002
00003
00004 #ifndef __LGI_WINDOWN_MANAGER_GLUE_H__
00005 #define __LGI_WINDOWN_MANAGER_GLUE_H__
00006
00007 #include "LgiDefs.h"
00008 #include "GMem.h"
00009 #include "GArray.h"
00010 #include "LgiClass.h"
00011
00013 struct WmColour
00014 {
00016 uint16 r, g, b, a;
00019 uint16 range;
00020
00021 WmColour()
00022 {
00023 r = g = b = 0;
00024 range = a = 255;
00025 }
00026 };
00027
00028 struct WmInitParams
00029 {
00030 #ifndef _XLIB_H_
00031
00032 #endif
00033
00034 int Args;
00035 char **Arg;
00036 };
00037
00038 typedef bool (*Proc_LgiWmInit)(WmInitParams *Params);
00039 typedef bool (*Proc_LgiWmExit)();
00040 typedef bool (*Proc_LgiWmFileToMime)(char *Mime, char *File);
00041 typedef bool (*Proc_LgiWmMimeToApps)(char *Mime, GArray<GAppInfo*> &Apps, int Limit);
00042 typedef bool (*Proc_LgiWmGetSysFont)(char *Type, char *Font, int FontLen, int &PtSize);
00043 typedef bool (*Proc_LgiWmGetLanguage)(char *Lang);
00044 typedef bool (*Proc_LgiWmGetColour)(int Which, WmColour *Colour);
00045 typedef bool (*Proc_LgiWmGetPath)(int Which, char *Buf, int BufLen);
00046
00047 #endif