新增了PQDIF补招线程,导入了新的lib库
This commit is contained in:
64
LFtid1056/pqdif/include/pqdsupport.h
Normal file
64
LFtid1056/pqdif/include/pqdsupport.h
Normal file
@@ -0,0 +1,64 @@
|
||||
#ifndef _CPQDIF_COMSupport_INC_
|
||||
#define _CPQDIF_COMSupport_INC_
|
||||
// class CPQDIF_COMSupport
|
||||
|
||||
#ifdef PQDIF_USE_COM
|
||||
|
||||
class CPQDIF_COMSupport
|
||||
{
|
||||
public:
|
||||
CPQDIF_COMSupport();
|
||||
~CPQDIF_COMSupport();
|
||||
|
||||
// Attributes
|
||||
public:
|
||||
|
||||
// Operations
|
||||
public:
|
||||
bool NewVariantArrayFromGUID
|
||||
(
|
||||
VARIANT& var,
|
||||
const GUID& guid
|
||||
);
|
||||
bool SetGUIDFromVariantArray
|
||||
(
|
||||
GUID& guid,
|
||||
const VARIANT& var
|
||||
) const;
|
||||
bool NewVariantArrayFromVector
|
||||
(
|
||||
VARIANT& var,
|
||||
CPQDIF_E_Vector& vect
|
||||
);
|
||||
bool NewVariantArrayFromDouble
|
||||
(
|
||||
VARIANT& var,
|
||||
double * arValues,
|
||||
long countValues
|
||||
);
|
||||
bool NewArrayUINT4FromVariant
|
||||
(
|
||||
UINT4 ** aidxChannelTrigger,
|
||||
long& countTriggersLocal,
|
||||
VARIANT& aidxChannelTriggerVar
|
||||
);
|
||||
|
||||
bool SetVectorArrayFromVariant( CPQDIF_E_Vector& vect, VARIANT& var );
|
||||
|
||||
bool NewComStringFromVector( CPQDIF_E_Vector& vect, BSTR * str );
|
||||
bool SetVectorArrayFromString( CPQDIF_E_Vector& vect, BSTR * str );
|
||||
|
||||
bool SetDateFromTimeStamp( DATE& date, const TIMESTAMPPQDIF& ts );
|
||||
bool SetTimeStampFromDate( TIMESTAMPPQDIF& ts, const DATE& date );
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
};
|
||||
|
||||
|
||||
// The one and only support object (Singleton)
|
||||
extern CPQDIF_COMSupport theSupport;
|
||||
|
||||
#endif // PQDIF_USE_COM
|
||||
|
||||
#endif // _CPQDIF_COMSupport_INC_
|
||||
Reference in New Issue
Block a user