PropsTheoraEncoder.h

Go to the documentation of this file.
00001 #pragma once
00002 #include "resource.h"
00003 
00004 #include <commctrl.h>
00005 //Debug
00006 //#include <fstream>
00007 using namespace std;
00008 //
00009 class PropsTheoraEncoder
00010         :       public CBasePropertyPage
00011 {
00012 public:
00013         static const UINT NOT_USED = 0;
00014         PropsTheoraEncoder(LPUNKNOWN inUnk, HRESULT* outHR);
00015         virtual ~PropsTheoraEncoder(void);
00016 
00017         static CUnknown* WINAPI CreateInstance(LPUNKNOWN inUnk, HRESULT* outHR);
00018 
00019         //CBasePropertyPage Virtual Overrides
00020         HRESULT OnActivate(void);
00021         HRESULT OnConnect(IUnknown *pUnk);
00022         HRESULT OnDisconnect(void);
00023         INT_PTR OnReceiveMessage(HWND hwnd,  UINT uMsg, WPARAM wParam, LPARAM lParam);
00024         HRESULT OnApplyChanges(void);
00025 
00026         static unsigned long log2(unsigned long inNum);
00027         static unsigned long pow2(unsigned long inNum);
00028 
00029 protected:
00030 
00031         //
00032         //void SetupBitrateCombo();
00033         //void SetupKeyframeFreqCombo();
00034         //LRESULT addNumberToCombo(int inComboID, int inNum);
00035         
00036         void SetDirty();
00037         void SetClean();
00038         //
00039         ITheoraEncodeSettings* mTheoraEncodeSettings;
00040 
00041         //Debug
00042 
00043         //fstream debugLog;
00044         //
00045 };

Generated on Tue Feb 15 14:54:16 2005 for oggdsf by  doxygen 1.3.9