Constants

Constants

Functions

Types and Values

Object Hierarchy

    GFlags
    ╰── PpdProfile

Description

Functions

ppd_profile_to_str ()

const char *
ppd_profile_to_str (PpdProfile profile);

ppd_profile_from_str ()

PpdProfile
ppd_profile_from_str (const char *str);

ppd_profile_has_single_flag ()

gboolean
ppd_profile_has_single_flag (PpdProfile profile);

Types and Values

enum PpdProfile

The different profiles available for users to select.

Members

PPD_PROFILE_POWER_SAVER

"power-saver", the battery saving profile

 

PPD_PROFILE_BALANCED

balanced, the default profile

 

PPD_PROFILE_PERFORMANCE

as fast as possible, a profile that does not care about noise or battery consumption, only available on some systems.

 

PPD_PROFILE_ALL

#define PPD_PROFILE_ALL   (PPD_PROFILE_BALANCED | PPD_PROFILE_POWER_SAVER | PPD_PROFILE_PERFORMANCE)

PPD_PROFILE_UNSET

#define PPD_PROFILE_UNSET (0)