mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-01 21:16:01 +00:00
Removed dependency on projectMtarget alltogether, as the playlist tests don't need the core library at all, only a few API functions which are mocked. Also made sure the mocked functions are declared as dllexport on Windows to match the dllimport declspec in the playlist library.
25 lines
941 B
C++
25 lines
941 B
C++
/**
|
|
* This file defines the few projectM API calls used in the playlist library. We're not interested
|
|
* in their implementation in this test suite.
|
|
*/
|
|
|
|
#include <libprojectM/projectM.h>
|
|
#include <libprojectM/projectM_export.h>
|
|
|
|
PROJECTM_EXPORT void projectm_set_preset_switch_requested_event_callback(projectm_handle instance,
|
|
projectm_preset_switch_requested_event callback,
|
|
void* user_data)
|
|
{
|
|
}
|
|
|
|
PROJECTM_EXPORT void projectm_set_preset_switch_failed_event_callback(projectm_handle instance,
|
|
projectm_preset_switch_failed_event callback,
|
|
void* user_data)
|
|
{
|
|
}
|
|
|
|
PROJECTM_EXPORT void projectm_load_preset_file(projectm_handle instance, const char* filename,
|
|
bool smooth_transition)
|
|
{
|
|
}
|