]> code.delx.au - refind/blobdiff - refind/global.h
Added new "icons_dir" configuration file token.
[refind] / refind / global.h
index 63bc00802d066f440e29237601fb098b60f0cddd..678054b6ac3b8b33a9d994f768bb2c1ac3cda243 100644 (file)
@@ -66,6 +66,7 @@
 
 #define NUM_SCAN_OPTIONS 10
 
+#define DEFAULT_ICONS_DIR L"icons"
 
 //
 // global definitions
@@ -105,6 +106,7 @@ typedef struct {
    EFI_BLOCK_IO        *WholeDiskBlockIO;
    EFI_DEVICE_PATH     *WholeDiskDevicePath;
    MBR_PARTITION_INFO  *MbrPartitionTable;
+   BOOLEAN             IsReadable;
 } REFIT_VOLUME;
 
 typedef struct _refit_menu_entry {
@@ -151,6 +153,9 @@ typedef struct {
 
 typedef struct {
    BOOLEAN     TextOnly;
+   BOOLEAN     ScanAllLinux;
+   UINTN       RequestedScreenWidth;
+   UINTN       RequestedScreenHeight;
    UINTN       Timeout;
    UINTN       HideUIFlags;
    UINTN       MaxTags;     // max. number of OS entries to show simultaneously in graphics mode
@@ -158,6 +163,9 @@ typedef struct {
    CHAR16      *SelectionSmallFileName;
    CHAR16      *SelectionBigFileName;
    CHAR16      *DefaultSelection;
+   CHAR16      *AlsoScan;
+   CHAR16      *DriverDirs;
+   CHAR16      *IconsDir;
    UINTN       ShowTools[NUM_TOOLS];
    CHAR8       ScanFor[NUM_SCAN_OPTIONS]; // codes of types of loaders for which to scan
 } REFIT_CONFIG;