summaryrefslogtreecommitdiffstats
path: root/src/modules/battery/option.h
blob: d65fd1fa4ce6e75f0eded9a16dab85ccdfb88af6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include "common/option.h"
#include "common/percent.h"

typedef struct FFBatteryOptions {
    FFModuleArgs moduleArgs;

    bool temp;
    FFColorRangeConfig tempConfig;
    FFPercentageModuleConfig percent;
} FFBatteryOptions;

static_assert(sizeof(FFBatteryOptions) <= FF_OPTION_MAX_SIZE, "FFBatteryOptions size exceeds maximum allowed size");