summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/indi/apogee/ApnSerial_USB.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitce599e4f9f94b4eb00c1b5edb85bce5431ab3df2 (patch)
treed3bb9f5d25a2dc09ca81adecf39621d871534297 /kstars/kstars/indi/apogee/ApnSerial_USB.h
downloadtdeedu-ce599e4f9f94b4eb00c1b5edb85bce5431ab3df2.tar.gz
tdeedu-ce599e4f9f94b4eb00c1b5edb85bce5431ab3df2.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kstars/kstars/indi/apogee/ApnSerial_USB.h')
-rw-r--r--kstars/kstars/indi/apogee/ApnSerial_USB.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/kstars/kstars/indi/apogee/ApnSerial_USB.h b/kstars/kstars/indi/apogee/ApnSerial_USB.h
new file mode 100644
index 00000000..cd10d9b5
--- /dev/null
+++ b/kstars/kstars/indi/apogee/ApnSerial_USB.h
@@ -0,0 +1,43 @@
+// ApnSerial_USB.h: interface for the CApnSerial_USB class.
+//
+//////////////////////////////////////////////////////////////////////
+
+#if !defined(AFX_APNSERIAL_USB_H__D7A1A328_6505_438F_BCCE_FA3F3B5EECC2__INCLUDED_)
+#define AFX_APNSERIAL_USB_H__D7A1A328_6505_438F_BCCE_FA3F3B5EECC2__INCLUDED_
+
+#if _MSC_VER > 1000
+#pragma once
+#endif // _MSC_VER > 1000
+
+#include "ApnSerial.h"
+
+class CApnSerial_USB : public CApnSerial
+{
+public:
+ CApnSerial_USB();
+ virtual ~CApnSerial_USB();
+
+ bool InitPort( unsigned long CamIdA,
+ unsigned short CamIdB,
+ unsigned short SerialId );
+
+ bool ClosePort();
+
+ bool GetBaudRate( unsigned long *BaudRate );
+ bool SetBaudRate( unsigned long BaudRate );
+
+ bool GetFlowControl( Apn_SerialFlowControl *FlowControl );
+ bool SetFlowControl( Apn_SerialFlowControl FlowControl );
+
+ bool GetParity( Apn_SerialParity *Parity );
+ bool SetParity( Apn_SerialParity Parity );
+
+ bool Read( char *ReadBuffer,
+ unsigned short *ReadCount );
+
+ bool Write( char *WriteBuffer,
+ unsigned short WriteCount );
+
+};
+
+#endif // !defined(AFX_APNSERIAL_USB_H__D7A1A328_6505_438F_BCCE_FA3F3B5EECC2__INCLUDED_)