Ejemplo n.º 1
0
	static N_CLASS(NDateTime) GetToday()
	{
		NDateTime_ value;
		NCheck(NDateTimeGetToday(&value));
		return N_CLASS(NDateTime)(value);
	}
	void SetGender(BdifGender value)
	{
		NCheck(FcrFaceImageSetGender(GetHandle(), value));
	}
	void SetHairColor(BdifHairColor value)
	{
		NCheck(FcrFaceImageSetHairColor(GetHandle(), value));
	}
	void SetImageQuality(NByte value)
	{
		NCheck(FirFingerViewSetImageQuality(GetHandle(), value));
	}
	void SetImpressionType(BdifFPImpressionType value)
	{
		NCheck(FirFingerViewSetImpressionType(GetHandle(), value));
	}
 void SetVersion(const NStringWrapper & value)
 {
     NCheck(NStringSet(value.GetHandle(), &hVersion));
 }
	NInt GetViewNumber() const
	{
		NInt value;
		NCheck(FirFingerViewGetViewNumber(GetHandle(), &value));
		return value;
	}
Ejemplo n.º 8
0
void GraphSettings::animdelslot()
{
  NCheck(AnimDel, 1, 20, transl("animation delay"), &Delay);
}
Ejemplo n.º 9
0
void GraphSettings::vchartsizeslot()
{
  NCheck(VChartSize, BITMAPY1, BITMAPY, transl("vertical value"), &yWin);
}
Ejemplo n.º 10
0
	NHandle GetOSHandle() const
	{
		NHandle hValue;
		NCheck(NSemaphoreGetOSHandle(GetHandle(), &hValue));
		return hValue;
	}
Ejemplo n.º 11
0
void GraphSettings::hchartsizeslot()
{
  NCheck(HChartSize, BITMAPX1, BITMAPX, transl("horizontal value"), &xWin);
}
Ejemplo n.º 12
0
	void Release()
	{
		NCheck(NSemaphoreRelease(GetHandle()));
	}
Ejemplo n.º 13
0
	static HFIRecord Create(const FIRecord & srcRecord, BdifStandard standard, NUInt flags)
	{
		HFIRecord handle;
		NCheck(FIRecordCreateFromFIRecord(srcRecord.GetHandle(), flags, standard, &handle));
		return handle;
	}
Ejemplo n.º 14
0
	static N_CLASS(NDateTime) FromTicks(NLong ticks)
	{
		NDateTime_ value;
		NCheck(NDateTimeCreateFromTicks(ticks, &value));
		return N_CLASS(NDateTime)(value);
	}
Ejemplo n.º 15
0
	void SetLossless(bool value)
	{
		NCheck(JpegInfoSetLossless(GetHandle(), value ? NTrue : NFalse));
	}
Ejemplo n.º 16
0
void GraphSettings::mapdegrotslot()
{
  NCheck(MapDegRot, 0, nDegMax-1, transl("degree of rotation"), &Rot);
}
 void SetName(const NStringWrapper & value)
 {
     NCheck(NStringSet(value.GetHandle(), &hName));
 }
Ejemplo n.º 18
0
	NAttributes GetValueAttributes() const
	{
		NAttributes value;
		NCheck(NDictionaryInfoGetValueAttributes(GetHandle(), &value));
		return value;
	}
	void SetImageData(const void * pValue, NSizeType valueSize, bool copy = true)
	{
		NCheck(FirFingerViewSetImageDataEx(GetHandle(), pValue, valueSize, copy ? NTrue : NFalse));
	}
Ejemplo n.º 20
0
	static NVoice FromSoundBufferAndTemplate(const ::Neurotec::Sound::NSoundBuffer & soundBuffer, const NSRecord & record)
	{
		HNVoice hVoice;
		NCheck(NVoiceFromSoundBufferAndTemplate(soundBuffer.GetHandle(), record.GetHandle(), &hVoice));
		return FromHandle<NVoice>(hVoice);
	}
	NByte GetImageQuality() const
	{
		NByte value;
		NCheck(FirFingerViewGetImageQuality(GetHandle(), &value));
		return value;
	}
Ejemplo n.º 22
0
	::Neurotec::Sound::NSoundBuffer GetSoundBuffer() const
	{
		HNSoundBuffer hValue;
		NCheck(NVoiceGetSoundBuffer(GetHandle(), &hValue));
		return FromHandle< ::Neurotec::Sound::NSoundBuffer>(hValue, true);
	}
	BdifFPImpressionType GetImpressionType() const
	{
		BdifFPImpressionType value;
		NCheck(FirFingerViewGetImpressionType(GetHandle(), &value));
		return value;
	}
Ejemplo n.º 24
0
	void SetSoundBuffer(const ::Neurotec::Sound::NSoundBuffer & value)
	{
		NCheck(NVoiceSetSoundBuffer(GetHandle(), value.GetHandle()));
	}
	NUShort GetVertLineLength() const
	{
		NUShort value;
		NCheck(FirFingerViewGetVertLineLength(GetHandle(), &value));
		return value;
	}
Ejemplo n.º 26
0
	NInt GetPhraseId() const
	{
		NInt value;
		NCheck(NVoiceGetPhraseId(GetHandle(), &value));
		return value;
	}
	BdifHairColor GetHairColor() const
	{
		BdifHairColor value;
		NCheck(FcrFaceImageGetHairColor(GetHandle(), &value));
		return value;
	}
Ejemplo n.º 28
0
	void SetPhraseId(NInt value)
	{
		NCheck(NVoiceSetPhraseId(GetHandle(), value));
	}
	BdifFaceProperties GetProperties() const
	{
		BdifFaceProperties value;
		NCheck(FcrFaceImageGetProperties(GetHandle(), &value));
		return value;
	}
Ejemplo n.º 30
0
	static N_CLASS(NDateTime) GetUtcNow()
	{
		NDateTime_ value;
		NCheck(NDateTimeGetUtcNow(&value));
		return N_CLASS(NDateTime)(value);
	}