diff foosdk/sdk/foobar2000/helpers/cue_creator.h @ 1:20d02a178406 default tip

*: check in everything else yay
author Paper <paper@tflc.us>
date Mon, 05 Jan 2026 02:15:46 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/foosdk/sdk/foobar2000/helpers/cue_creator.h	Mon Jan 05 02:15:46 2026 -0500
@@ -0,0 +1,26 @@
+#pragma once
+
+#include "cuesheet_index_list.h"
+#include <SDK/file_info_impl.h>
+
+namespace cue_creator
+{
+	struct t_entry
+	{
+		file_info_impl m_infos;
+		pfc::string8 m_file, m_fileType, m_flags, m_trackType = "AUDIO";
+		unsigned m_track_number;
+
+		bool isTrackAudio() const;
+
+		t_cuesheet_index_list m_index_list;
+
+		void set_simple_index(double p_time);
+		void set_index01(double index0, double index1);
+	};
+	
+	typedef pfc::chain_list_v2_t<t_entry> t_entry_list;
+
+	void create(pfc::string_formatter & p_out,const t_entry_list & p_list);
+	pfc::string_formatter create(const t_entry_list& p_list);
+};
\ No newline at end of file