-
Notifications
You must be signed in to change notification settings - Fork 9
/
MasteringPage1.h
42 lines (33 loc) · 1016 Bytes
/
MasteringPage1.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
36
37
38
39
40
41
42
#pragma once
#include "afxcmn.h"
class CMasteringPage1 : public CDialog
{
DECLARE_DYNAMIC(CMasteringPage1)
public:
CMasteringPage1(CWnd* pParent = nullptr);
~CMasteringPage1() override;
enum { IDD = IDD_MASTERING_1 };
protected:
void DoDataExchange(CDataExchange* pDX) override;
CMenu m_TrackMenu;
DECLARE_MESSAGE_MAP()
public:
CWnd* m_MainDialog;
CListCtrl m_TrackList;
BOOL OnInitDialog() override;
afx_msg void OnLvnKeydownTracklist(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnNMRclickTracklist(NMHDR* pNMHDR, LRESULT* pResult);
void InsertMode1MasteringTrack(void);
void DeleteSelectedTracks(void);
void InsertWaveAudioTrack(void);
afx_msg void OnDropFiles(HDROP hDropInfo);
afx_msg void OnBnClickedUpOrder();
afx_msg void OnBnClickedDownOrder();
protected:
void SwapItem(int id1, int id2);
public:
void SetLanguage(void);
void InsertIsoTrack(LPCSTR FileName);
protected:
int CheckIsoType(LPCSTR FileName);
};