mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-01-01 03:37:49 -05:00
30 lines
692 B
C++
30 lines
692 B
C++
#include "RGBController.h"
|
|
|
|
#pragma once
|
|
|
|
class ProfileManager
|
|
{
|
|
public:
|
|
ProfileManager(std::vector<RGBController *>& control);
|
|
~ProfileManager();
|
|
|
|
bool SaveProfile(std::string profile_name);
|
|
bool LoadProfile(std::string profile_name);
|
|
bool LoadSizeFromProfile(std::string profile_name);
|
|
void DeleteProfile(std::string profile_name);
|
|
|
|
std::vector<std::string> profile_list;
|
|
|
|
protected:
|
|
std::vector<RGBController *>& controllers;
|
|
|
|
private:
|
|
void UpdateProfileList();
|
|
bool LoadProfileWithOptions
|
|
(
|
|
std::string profile_name,
|
|
bool load_size,
|
|
bool load_settings
|
|
);
|
|
};
|