The DejaVU Framework --
hush 3.1
-
[up]
[top] -
index
make
include
source
logic
grammar
scripts
html
configure
mx
slides
talks
scenes
reports
projects
<body bgcolor="#FFFFFF" text="#000000">
//------------------------------------------------------------------------------
// File: GamePlayer.h
//
// Desc: DirectShow sample code - MultiVMR9 GamePlayer
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
#pragma once
ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
endif
include <resource.h> // main symbols
#pragma warning(push)
#pragma warning(disable:4702)
include
#pragma warning(pop)
include <MultigraphSession.h>
include <CustomMixer.h>
include <CustomUILayer.h>
using namespace std;
// CGamePlayerApp:
// See GamePlayer.cpp for the implementation of this class
//
<blockquote>
****************************Public*Routine******************************\
class CGamePlayerApp
application class
\*************************************************************************</blockquote>
<h4 align=right text=red> CGamePlayerApp</h4><hr>
class CGamePlayerApp : public CWinApp
{
public:
CGamePlayerApp();
BOOL VerifyVMR9(void);
// Overrides
public:
virtual BOOL InitInstance();
// Implementation
DECLARE_MESSAGE_MAP()
};<hr>
extern CGamePlayerApp theApp;
<hr><h4>/////////////////////////// CGamePlayerSession ////////////////////</h4>
<blockquote>
*******************************************************************************\
class CGamePlayerSession
wrapper for the part of the sample related to using MultiVMR9.dll
\********************************************************************************</blockquote>
<hr>
CGamePlayerSession</h4>
class CGamePlayerSession : public CMultigraphSession
{
public:
CGamePlayerSession();
virtual ~CGamePlayerSession();
virtual HRESULT Initialize();
virtual HRESULT Terminate();
private:
CGameMixer* m_pMixer;
CGameUILayer* m_pUI;
};
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2780434-1";
urchinTracker();
</script>