~ft/aacdec

ref: 65a708ac330ddc83d16ddaa5387d368276c888cb aacdec/CoreAAC/CoreAACAboutProp.cpp -rw-r--r-- 1.5 KiB
65a708ac — menno forgot 1 18 years ago
                                                                                
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
#include <stdio.h>
#include <streams.h>
#include "CoreAACAboutProp.h"
#include "resource.h"

#include "../faad2/include/faad.h"
#define FILTER_VERSION "1.0b4"

// ----------------------------------------------------------------------------

CUnknown *WINAPI CCoreAACAboutProp::CreateInstance(LPUNKNOWN punk, HRESULT *phr)
{
	CCoreAACAboutProp *pNewObject = new CCoreAACAboutProp(punk, phr);
	if (!pNewObject)
		*phr = E_OUTOFMEMORY;
	return pNewObject;
}

// ----------------------------------------------------------------------------

CCoreAACAboutProp::CCoreAACAboutProp(LPUNKNOWN pUnk, HRESULT *phr) :
	CBasePropertyPage(NAME("About"), pUnk, IDD_ABOUT, IDS_ABOUT)
{
		
}

// ----------------------------------------------------------------------------

CCoreAACAboutProp::~CCoreAACAboutProp()
{
	
}	

// ----------------------------------------------------------------------------

HRESULT CCoreAACAboutProp::OnActivate()
{		
	SetDlgItemText(m_hwnd, IDC_STATIC_VERSION, 
		"Version " FILTER_VERSION " - ("__DATE__", "__TIME__")");
	SetDlgItemText(m_hwnd, IDC_STATIC_FAAD_VERSION, 
		"FAAD2 " FAAD2_VERSION " - Freeware Advanced Audio Decoder");
	return S_OK;
}

// ----------------------------------------------------------------------------

BOOL CCoreAACAboutProp::OnReceiveMessage(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
	return CBasePropertyPage::OnReceiveMessage(hwnd, uMsg, wParam, lParam);		
}

// ----------------------------------------------------------------------------