-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLyrics.h
35 lines (26 loc) · 775 Bytes
/
Lyrics.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#pragma once
#ifndef _LYRICS_H_
#define _LYRICS_H_
#include "LyricsLine.h"
namespace LRCService {
using namespace System;
ref class Lyrics
{
public:
Lyrics();
void AddSyncedLine(LyricsLine^ lrcLine);
void AddUnsyncedLyrics(String^ lyrics);
bool getIsSynced();
void setIsSynced(bool isSynced);
void updateActives(Int64 currentMilisecond, System::Windows::Forms::ListBox^ lstViewTarget);
System::Collections::Generic::List<LyricsLine^>^ getArray();
void populateList(System::Windows::Forms::ListBox^ lstViewTarget);
void clear();
void updateList(System::Windows::Forms::ListBox^ lstViewTarget);
private:
System::Collections::Generic::List<LyricsLine^>^ LRCArray;
bool isSynced = false;
String^ unsyncedLyrics;
};
}
#endif // !_LYRICS_H_