Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
VideoFactory.h
Go to the documentation of this file.
1 /* Project nGenEx
2  Destroyer Studios LLC
3  Copyright © 1997-2004. All Rights Reserved.
4 
5  SUBSYSTEM: nGenEx.lib
6  FILE: VideoFactory.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  Video Factory class
13 */
14 
15 #ifndef VideoFactory_h
16 #define VideoFactory_h
17 
18 #include "Types.h"
19 #include "Video.h"
20 #include "SoundCard.h"
21 
22 // +--------------------------------------------------------------------+
23 
25 {
26 public:
27  VideoFactory(HWND h);
28  virtual ~VideoFactory();
29 
30  virtual Video* CreateVideo(VideoSettings* vs);
31  virtual void DestroyVideo(Video* video);
32  virtual SoundCard* CreateSoundCard();
33 
34 private:
35  HWND hwnd;
36 
37  Video* video;
38  SoundCard* audio;
39 };
40 
41 #endif VideoFactory_h
42