-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathBufferOptionsDlg.h
47 lines (28 loc) · 992 Bytes
/
BufferOptionsDlg.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
43
44
// *****************************************************************************
//
// Copyright (c) 2012, Pleora Technologies Inc., All rights reserved.
//
// *****************************************************************************
#pragma once
#include <BufferOptions.h>
#include "Resource.h"
class eBUSPlayerDlg;
class BufferOptionsDlg : public CDialog
{
DECLARE_DYNAMIC(BufferOptionsDlg)
public:
BufferOptionsDlg( Player *aPlayer, CWnd* pParent = NULL );
virtual ~BufferOptionsDlg();
enum { IDD = IDD_BUFFER_OPTIONS };
protected:
static bool StrToUInt32( const CString &aString, uint32_t &aValue );
static bool EditToUInt32( CEdit &aEdit, uint32_t &aValue );
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnInitDialog();
afx_msg void OnBnClickedOk();
DECLARE_MESSAGE_MAP()
Player *mPlayer;
CEdit mBufferCountEdit;
CEdit mBufferSizeEdit;
CButton mAutoResizeCheck;
};