Parent Directory | Revision Log
Revision 1345 - (view) (download)
1 : | edgomez | 1054 | /***************************************************************************** |
2 : | suxen_drol | 888 | * |
3 : | edgomez | 1054 | * XVID MPEG-4 VIDEO CODEC - DShow Front End |
4 : | suxen_drol | 1345 | * - About Property Page - |
5 : | suxen_drol | 888 | * |
6 : | suxen_drol | 1345 | * Copyright(C) 2002-2004 Peter Ross <pross@xvid.org> |
7 : | suxen_drol | 888 | * |
8 : | edgomez | 1054 | * This program is free software ; you can redistribute it and/or modify |
9 : | * it under the terms of the GNU General Public License as published by | ||
10 : | * the Free Software Foundation ; either version 2 of the License, or | ||
11 : | * (at your option) any later version. | ||
12 : | suxen_drol | 888 | * |
13 : | edgomez | 1054 | * This program is distributed in the hope that it will be useful, |
14 : | * but WITHOUT ANY WARRANTY ; without even the implied warranty of | ||
15 : | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 : | * GNU General Public License for more details. | ||
17 : | suxen_drol | 888 | * |
18 : | edgomez | 1054 | * You should have received a copy of the GNU General Public License |
19 : | * along with this program ; if not, write to the Free Software | ||
20 : | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
21 : | * | ||
22 : | suxen_drol | 1345 | * $Id: CAbout.cpp,v 1.1.2.8 2004-01-31 13:44:33 suxen_drol Exp $ |
23 : | edgomez | 1054 | * |
24 : | ****************************************************************************/ | ||
25 : | suxen_drol | 888 | |
26 : | Isibaar | 1260 | /**************************************************************************** |
27 : | * | ||
28 : | suxen_drol | 1345 | * 2004/02/01 - Move configuration processing code into config.c |
29 : | Isibaar | 1260 | * 2003/12/11 - added some additional options, mainly to make the deblocking |
30 : | * code from xvidcore available. Most of the new code is taken | ||
31 : | * from Nic's dshow filter, (C) Nic, http://nic.dnsalias.com | ||
32 : | * | ||
33 : | ****************************************************************************/ | ||
34 : | suxen_drol | 1345 | #include <windows.h> |
35 : | Isibaar | 1260 | #include <commctrl.h> |
36 : | suxen_drol | 1345 | #include "CAbout.h" |
37 : | Isibaar | 1260 | #include "CXvidDecoder.h" |
38 : | suxen_drol | 1345 | #include "resource.h" |
39 : | #include "config.h" | ||
40 : | suxen_drol | 888 | |
41 : | Isibaar | 1260 | |
42 : | |||
43 : | suxen_drol | 888 | CUnknown * WINAPI CAbout::CreateInstance(LPUNKNOWN punk, HRESULT *phr) |
44 : | { | ||
45 : | CAbout * pNewObject = new CAbout(punk, phr); | ||
46 : | if (pNewObject == NULL) | ||
47 : | { | ||
48 : | *phr = E_OUTOFMEMORY; | ||
49 : | } | ||
50 : | return pNewObject; | ||
51 : | } | ||
52 : | |||
53 : | |||
54 : | CAbout::CAbout(LPUNKNOWN pUnk, HRESULT * phr) : | ||
55 : | CBasePropertyPage(NAME("CAbout"), pUnk, IDD_ABOUT, IDS_ABOUT) | ||
56 : | { | ||
57 : | ASSERT(phr); | ||
58 : | } | ||
59 : | |||
60 : | |||
61 : | CAbout::~CAbout() | ||
62 : | { | ||
63 : | } | ||
64 : | |||
65 : | |||
66 : | BOOL CAbout::OnReceiveMessage(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) | ||
67 : | { | ||
68 : | suxen_drol | 1345 | if (adv_proc(hwnd, uMsg, wParam, lParam) == FALSE) { |
69 : | return CBasePropertyPage::OnReceiveMessage(hwnd, uMsg, wParam, lParam); | ||
70 : | Isibaar | 1260 | } |
71 : | suxen_drol | 1345 | return TRUE; |
72 : | edgomez | 1276 | } |
73 : | syskin | 1341 |
No admin address has been configured | ViewVC Help |
Powered by ViewVC 1.0.4 |