// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.


// Dispatch interfaces referenced by this interface
class COleFont;

/////////////////////////////////////////////////////////////////////////////
// CYtvClockAlarm wrapper class

class CYtvClockAlarm : public CWnd
{
protected:
	DECLARE_DYNCREATE(CYtvClockAlarm)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0xbe472e86, 0x7938, 0x452a, { 0xa1, 0xa4, 0x85, 0x97, 0x40, 0xe6, 0x98, 0x3c } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes
public:
	BOOL GetSwitch12hours();
	void SetSwitch12hours(BOOL);
	long GetTimeTickInterval();
	void SetTimeTickInterval(long);
	BOOL GetRunClock();
	void SetRunClock(BOOL);
	BOOL Get_RunClock();
	void Set_RunClock(BOOL);
	BOOL GetAlarmMessageBox();
	void SetAlarmMessageBox(BOOL);
	BOOL GetFlushControl();
	void SetFlushControl(BOOL);
	long GetNumberTimeFlashOnAlarm();
	void SetNumberTimeFlashOnAlarm(long);
	short GetAppearance();
	void SetAppearance(short);
	short GetBorderStyle();
	void SetBorderStyle(short);
	BOOL GetEnabled();
	void SetEnabled(BOOL);
	COleFont GetFont();
	void SetFont(LPDISPATCH);
	OLE_HANDLE GetHWnd();
	void SetHWnd(OLE_HANDLE);
	long GetReadyState();
	CString GetText();
	void SetText(LPCTSTR);
	unsigned long GetAlarmBackColor();
	void SetAlarmBackColor(unsigned long);
	unsigned long GetAlarmForeColor();
	void SetAlarmForeColor(unsigned long);
	unsigned long GetClockBackColor();
	void SetClockBackColor(unsigned long);
	unsigned long GetClockForeColor();
	void SetClockForeColor(unsigned long);
	unsigned long GetAlarmForeLineColor();
	void SetAlarmForeLineColor(unsigned long);
	unsigned long GetClockForeLineColor();
	void SetClockForeLineColor(unsigned long);
	unsigned long GetAlarmBackLineColor();
	void SetAlarmBackLineColor(unsigned long);
	unsigned long GetClockBackLineColor();
	void SetClockBackLineColor(unsigned long);
	BOOL GetShowSeconds();
	void SetShowSeconds(BOOL);
	long GetDigitColForeEdgeLength();
	void SetDigitColForeEdgeLength(long);
	BOOL GetSwitch24hours();
	void SetSwitch24hours(BOOL);
	BOOL GetShowAboutBox();
	void SetShowAboutBox(BOOL);
	double GetAlarm24hours();
	void SetAlarm24hours(double);
	BOOL GetDeleteAlarm24Hours();
	void SetDeleteAlarm24Hours(BOOL);
	CString GetAlarmName();
	void SetAlarmName(LPCTSTR);
	long GetAlarmId();
	void SetAlarmId(long);
	BOOL GetVisible();
	void SetVisible(BOOL);
	long GetSizeX();
	void SetSizeX(long);
	long GetSizeY();
	void SetSizeY(long);
	CString GetFireBitmap();
	void SetFireBitmap(LPCTSTR);
	long GetControlId();
	void SetControlId(long);
	double GetDateTime();
	void SetDateTime(double);
	long GetAtAlarmFlashWindow();
	void SetAtAlarmFlashWindow(long);
	long GetAtAlarmFlashWindowNumberTimes();
	void SetAtAlarmFlashWindowNumberTimes(long);
	long GetAtAlarmSendMessage();
	void SetAtAlarmSendMessage(long);
	long GetAtAlarmSendMessageAtWindow();
	void SetAtAlarmSendMessageAtWindow(long);
	BOOL GetAnalogClock();
	void SetAnalogClock(BOOL);
	long GetAlarmNumber();
	void SetAlarmNumber(long);
	BOOL GetDeleteAllAlarms();
	void SetDeleteAllAlarms(BOOL);
	long GetDeleteAlarm();
	void SetDeleteAlarm(long);
	BOOL GetActivateCurAlarm();
	void SetActivateCurAlarm(BOOL);
	long GetFaceHandsType();
	void SetFaceHandsType(long);
	long GetPlusMinusHours();
	void SetPlusMinusHours(long);
	long GetFirstAlarmId();
	void SetFirstAlarmId(long);
	long GetNextAlarmId();
	void SetNextAlarmId(long);
	long GetFlashTimeInterval();
	void SetFlashTimeInterval(long);
	BOOL GetDisplayAlarmTime();
	void SetDisplayAlarmTime(BOOL);
	CString GetAlarmMessage();
	void SetAlarmMessage(LPCTSTR);
	BOOL GetPlayAlarmSound();
	void SetPlayAlarmSound(BOOL);
	CString GetSoundFileName();
	void SetSoundFileName(LPCTSTR);
	long GetSoundFlags();
	void SetSoundFlags(long);
	BOOL GetSayAlarmTime();
	void SetSayAlarmTime(BOOL);
	BOOL GetSayAlarmName();
	void SetSayAlarmName(BOOL);
	BOOL GetSayAlarmNumber();
	void SetSayAlarmNumber(BOOL);
	BOOL GetDefaultSetting();
	void SetDefaultSetting(BOOL);
	CString GetSectionName();
	void SetSectionName(LPCTSTR);
	long GetVolume();
	void SetVolume(long);
	long GetSoundRate();
	void SetSoundRate(long);
	CString GetVoice();
	void SetVoice(LPCTSTR);
	BOOL GetSayMessageText();
	void SetSayMessageText(BOOL);
	DATE GetMaxTimeInterval();
	void SetMaxTimeInterval(DATE);
	short GetPartOfSecondTick();
	void SetPartOfSecondTick(short);
	CString GetProfileReg();
	void SetProfileReg(LPCTSTR);
	short GetProfTimer();
	void SetProfTimer(short);

// Operations
public:
	BOOL SetAlarm(DATE DateTimeStart, long AlarmId, DATE DateTimeEnd);
	BOOL GetAlarm(DATE* DateTimeStart, long AlarmId, DATE* DateTimeEnd);
	BOOL GetActivateAlarm(long AlarmId);
	void SetActivateAlarm(long AlarmId, BOOL bNewValue);
	void Refresh();
	void DoClick();
	void TextOut(LPCTSTR Text, short pos_x, short pos_y, unsigned long ForeColor, unsigned long BackColor);
	BOOL GetRegistryChanged(LPCTSTR Path);
	void SetRegistryChanged(LPCTSTR Path, BOOL bNewValue);
	BOOL GetShowAlarmTime(long AlarmId, long AlarmNumber);
	void SetShowAlarmTime(long AlarmId, long AlarmNumber, BOOL bNewValue);
	BOOL GetAlarmData(long ListNumber, long* AlarmId, long* AlarmNumber, BSTR* AlarmName, DATE* AlarmTimeDate);
	void SetAlarmData(long ListNumber, long* AlarmId, long* AlarmNumber, BSTR* AlarmName, DATE* AlarmTimeDate, BOOL bNewValue);
	BOOL CreateMessageTextBoxDialog();
	BOOL StartPlayAlarmSound();
	BOOL CancelPlayAlarmSound();
	long GetRepeatSoundTimesWithInterval(long* IntervalTimeMls);
	void SetRepeatSoundTimesWithInterval(long* IntervalTimeMls, long nNewValue);
	BOOL SetSoundPropertiesDial();
	void SayTextString(LPCTSTR TextString);
	void SayTextFile(LPCTSTR FileName);
	BOOL GetSetting();
	BOOL WriteSetting();
	BOOL SetVoiceDial();
	long GetChangeTimeInterval(long AlarmId, long AlarmNumber);
	void SetChangeTimeInterval(long AlarmId, long AlarmNumber, long nNewValue);
	long GetResetTimeAlarm(long AlarmId);
	void SetResetTimeAlarm(long AlarmId, long nNewValue);
	long GetTimeSpanAlarm(long AlarmId, long AlarmNumber);
	long WriteProfileReg();
	long ReadProfileReg();
	BOOL SetDeleteAlarmDial(long* pAlarmId, long* pAlarmNumber, LPCTSTR pAlrmName, BOOL* pDeleteAllAlarms, BOOL* pDeleteAlarmGroup, BOOL* pDeleteAlarm);
	long SetTimeShiftDial(long TimeShift);
	BOOL ExportSettings(LPCTSTR szFileName);
	BOOL ImportSettings(LPCTSTR szFileName);
	short GetHandsLengths(short nHandNumber);
	void SetHandsLengths(short nHandNumber, short nNewValue);
	float GetFloatHandsLenghts(short shHandNumber);
	void SetFloatHandsLenghts(short shHandNumber, float newValue);
	BOOL GetStartTime(short Hour, short Minutes, short Seconds, short Milliseconds);
	void SetStartTime(short Hour, short Minutes, short Seconds, short Milliseconds, BOOL bNewValue);
	short GetNumberTicksSections(short HandNumber);
	void SetNumberTicksSections(short HandNumber, short nNewValue);
	long GetQuantTimeForATickSectionMilSec(short HandNumber);
	void SetQuantTimeForATickSectionMilSec(short HandNumber, long nNewValue);
	long GetTimerColors(short shColorNumber);
	void SetTimerColors(short shColorNumber, long nNewValue);
	BOOL SetLengthsHandsStripesWidths(BOOL bModeless);
	BOOL SetTimeSpansDial(BOOL bModeless);
	long GetListSettingsSectionsNames(BSTR* ListNames);
	BOOL DeleteSection(LPCTSTR szSectionName);
	BOOL MakeSectionListDial(BOOL bModeless);
	long CtrlInvalidate();
	void AboutBox();
};
