www.pudn.com > LECTEUR-MP3.zip > MusGest.h
// MusGest.h : main header file for the MUSGEST application
//
#if !defined(AFX_MUSGEST_H__4BC83C4C_8EDD_4675_908B_62D04FFD8630__INCLUDED_)
#define AFX_MUSGEST_H__4BC83C4C_8EDD_4675_908B_62D04FFD8630__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CMusGestApp:
// See MusGest.cpp for the implementation of this class
//
class CMusGestApp : public CWinApp
{
public:
CMusGestApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMusGestApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
CSingleDocTemplate* m_pDocTemplate;
BOOL GetFolder(CString* strSelectedFolder,
const char* lpszTitle,
const HWND hwndOwner,
const char* strRootFolder,
const char* strStartFolder);
CString GetRepPath() {return m_strRepPath;}
void OnFileOpen();
void OnNewFile();
void OnChoseFolder();
void LoadConfig();
//Volume
void OnMute();
void OnVol10();
void OnVol20();
void OnVol30();
void OnVol40();
void OnVol50();
void OnVol60();
void OnVol70();
void OnVol80();
void OnVol90();
void OnVolMax();
private :
CString m_strRepPath;
bool m_bVolTab[11];
// Implementation
//{{AFX_MSG(CMusGestApp)
afx_msg void OnAppAbout();
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MUSGEST_H__4BC83C4C_8EDD_4675_908B_62D04FFD8630__INCLUDED_)