65 lines
1.5 KiB
C++
65 lines
1.5 KiB
C++
#ifndef _VIDCAP_VIDREG_HPP_
|
|
#define _VIDCAP_VIDREG_HPP_
|
|
#ifndef _COMMON_REGKEY_HPP_
|
|
#include <common/regkey.hpp>
|
|
#endif
|
|
#ifndef _COMMON_STRING_HPP_
|
|
#include <common/string.hpp>
|
|
#endif
|
|
#ifndef _VIDCAP_RSRC_HPP_
|
|
#include <vidcap/rsrc.hpp>
|
|
#endif
|
|
|
|
class VidReg
|
|
{
|
|
public:
|
|
VidReg(void);
|
|
virtual ~VidReg();
|
|
String getCaptureFile(void)const;
|
|
void setCaptureFile(const String &captureFile);
|
|
bool getSequencing(void)const;
|
|
void setSequencing(bool sequencing);
|
|
DWORD getPreviewRate(void)const;
|
|
void setPreviewRate(DWORD previewRate);
|
|
DWORD getPreviewWidth(void)const;
|
|
void setPreviewWidth(DWORD previewWidth);
|
|
DWORD getPreviewHeight(void)const;
|
|
void setPreviewHeight(DWORD previewHeight);
|
|
DWORD getCaptureWidth(void)const;
|
|
void setCaptureWidth(DWORD captureWidth);
|
|
DWORD getCaptureHeight(void)const;
|
|
void setCaptureHeight(DWORD captureHeight);
|
|
DWORD getQuality(void)const;
|
|
void setQuality(DWORD quality);
|
|
bool isOkay(void)const;
|
|
private:
|
|
VidReg(const VidReg &someVidReg);
|
|
VidReg &operator=(const VidReg &someVidReg);
|
|
void guarantee(void);
|
|
|
|
String mVidCapKeyName;
|
|
String mSettingsKeyName;
|
|
String mCaptureFile;
|
|
String mSequencing;
|
|
String mPreviewWidth;
|
|
String mPreviewHeight;
|
|
String mCaptureWidth;
|
|
String mCaptureHeight;
|
|
String mPreviewRate;
|
|
String mQuality;
|
|
RegKey mRegKeySettings;
|
|
};
|
|
|
|
inline
|
|
VidReg::VidReg(const VidReg &someVidReg)
|
|
{ // private implementation
|
|
*this=someVidReg;
|
|
}
|
|
|
|
inline
|
|
VidReg &VidReg::operator=(const VidReg &/*someVidReg*/)
|
|
{
|
|
return *this;
|
|
}
|
|
#endif
|