mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-09 10:06:04 -05:00
Clean up SwitcherData
* Moved various functions, members, and definitions * Separated out priority related functionality * Visually grouped various function groups
This commit is contained in:
19
src/utils/priority-helper.hpp
Normal file
19
src/utils/priority-helper.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
#include <obs-data.h>
|
||||
|
||||
namespace advss {
|
||||
|
||||
struct ThreadPrio {
|
||||
std::string name;
|
||||
std::string description;
|
||||
uint32_t value;
|
||||
};
|
||||
|
||||
std::vector<int> GetDefaultFunctionPriorityList();
|
||||
void SetDefaultFunctionPriorities(obs_data_t *);
|
||||
std::vector<ThreadPrio> GetThreadPrioMapping();
|
||||
|
||||
} // namespace advss
|
||||
Reference in New Issue
Block a user