The source project of this merge request has been removed.
Code cleanup: Partial conversion of source code towards idiomatic C++ code
List of changes:
- Convert variables from untyped GLib collections to typed C++ equivalents
- Simplify RC configuration read/write code by using
xfce4::Rc
- Move default configuration values inside/into the declaration of struct
CpuFreqPluginOptions
- Remove unused
cpufreq_get_normal_freq()
- Replace
char*
withstd::string
- Use
std::set<string>
to sort governors, instead of Bubble sort - Add
xfce4::join(strings)
- Replace
cpuinfo_free()
withCpuInfo
's C++ destructor - Use
xfce4::sprintf()
in order to avoid explicit calls tog_free()