summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/linux/opcmciasystem.h
authormickeyl <mickeyl>2005-05-22 21:55:59 (UTC)
committer mickeyl <mickeyl>2005-05-22 21:55:59 (UTC)
commitb153f9739d300b3bc608ea76968b818818fce1d0 (patch) (side-by-side diff)
tree8b05eedb78f5eab6b5d49c68248da8425f09410b /libopie2/opiecore/linux/opcmciasystem.h
parentffe68fa0d9b4eb89fe1549b5734ca6ab23c8ab62 (diff)
downloadopie-b153f9739d300b3bc608ea76968b818818fce1d0.zip
opie-b153f9739d300b3bc608ea76968b818818fce1d0.tar.gz
opie-b153f9739d300b3bc608ea76968b818818fce1d0.tar.bz2
start talking directly to pcmcia card services
Diffstat (limited to 'libopie2/opiecore/linux/opcmciasystem.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/linux/opcmciasystem.h28
1 files changed, 25 insertions, 3 deletions
diff --git a/libopie2/opiecore/linux/opcmciasystem.h b/libopie2/opiecore/linux/opcmciasystem.h
index 630a434..ef34964 100644
--- a/libopie2/opiecore/linux/opcmciasystem.h
+++ b/libopie2/opiecore/linux/opcmciasystem.h
@@ -32,2 +32,4 @@
+#include "linux_pcmcia.h"
+
#include <qobject.h>
@@ -94,2 +96,5 @@ class OPcmciaSystem : public QObject
CardList _interfaces;
+ int _major;
+
+ private:
class Private;
@@ -110,5 +115,5 @@ class OPcmciaSocket : public QObject
* Constructor. Normally you don't create @ref OPcmciaSocket objects yourself,
- * but access them via @ref OPcmciaSystem::card().
+ * but access them via @ref OPcmciaSystem::socket().
*/
- OPcmciaSocket( int socket, QObject* parent, const char* name );
+ OPcmciaSocket( int major, int socket, QObject* parent, const char* name );
/**
@@ -162,4 +167,15 @@ class OPcmciaSocket : public QObject
bool reset();
+ /**
+ * @returns a list of product IDs
+ */
+ const QStringList& productIdentity() const;
+ /**
+ * @returns the manufacturer ID pair
+ */
+#if 0
+ const QPair& manufacturerIdentity() const;
+#endif
- protected:
+ private:
+ QStringList _productId;
@@ -167,4 +183,10 @@ class OPcmciaSocket : public QObject
void init();
+ void buildInformation();
+ void cleanup();
bool command( const QString& cmd );
+ bool getTuple( cisdata_t tuple );
+ int _major;
int _socket;
+ int _fd;
+ ds_ioctl_arg_t _ioctlarg;