Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Plugins/Library/ml_history/history.h

35 lines
546 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#pragma once
#ifndef NULLSOFT_ML_HISTORY_HISTORY_H
#define NULLSOFT_ML_HISTORY_HISTORY_H
#include <time.h>
typedef struct
{
wchar_t *filename;
wchar_t *title;
wchar_t *ext;
int length;
unsigned int playcnt;
__time64_t lastplayed;
int offset;
} historyRecord;
typedef struct
{
historyRecord *Items;
int Size;
int Alloc;
} historyRecordList;
enum
{
HISTORY_SORT_LASTPLAYED = 0,
HISTORY_SORT_PLAYCOUNT = 1,
HISTORY_SORT_TITLE = 2,
HISTORY_SORT_LENGTH = 3,
HISTORY_SORT_FILENAME = 4,
HISTORY_SORT_OFFSET = 5,
};
#endif