-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfunction.h
More file actions
56 lines (43 loc) · 1.8 KB
/
function.h
File metadata and controls
56 lines (43 loc) · 1.8 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
struct media* Choose_Song(struct media* HEAD, struct media* P, int num, int max);
void Pause_Play(struct media* p);
void Close_Play(struct media* p);
int Print_List(struct media* head);
struct media* CreatHead();
void SongPlaying(struct media* p);
void VolUp(struct media* p);
void VolDown(struct media* p);
struct media* Next_Play(struct media* head, struct media* p);
struct media* Last_Play(struct media* head, struct media* p);
void go(struct media* p);
void back(struct media* p);
//struct media* repeatmode(struct media* HEAD, struct media* p, int max);
//struct media* ordermode(struct media* HEAD, struct media* p, int max);
//struct media* randommode(struct media* HEAD, struct media* p, int max);
void play(struct meida* HEAD, struct media* p, int max);
int Progress(struct media* p);
void progress_Display(struct media* head, struct media* p, int max);
//int judge(struct media* p);
//struct media* monitor(struct media* HEAD, struct media* p, int max);
//struct media* playfirst(struct media* HEAD, struct media* p);
void changeColor();
void setSyscolor();
void setTextcolor();
void setCursorPosition(int x, int y);
struct media* chooseSong2(struct media* HEAD, struct media* P);
#include "LRC.h"
int msg_deal(char* msg_src, char* msg_done[], char* str);
LRC* link_insert(LRC* head, LRC* p_new);
LRC* link_search(LRC* head, int num);
char* read_file(struct media* p);
//¸èµ¥
struct media* findp_by_num(struct media* head, int num);
struct media* display_a_list(struct media* head);
void add_to_List(struct media* head);
struct media* remove_in_list(struct media* head);
void new_list();
void remove_list();
void print_all_list();
void printc(int len, char* str);
struct media* iChoose_Song(struct media* myhead, struct media* P);
struct media* FindSong(struct media* head, struct media* p, int num, int max);
#pragma once