summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/linux/opcmciasystem.cpp7
-rw-r--r--libopie2/opiecore/linux/opcmciasystem.h8
2 files changed, 13 insertions, 2 deletions
diff --git a/libopie2/opiecore/linux/opcmciasystem.cpp b/libopie2/opiecore/linux/opcmciasystem.cpp
index 21c5a84..9f151ce 100644
--- a/libopie2/opiecore/linux/opcmciasystem.cpp
+++ b/libopie2/opiecore/linux/opcmciasystem.cpp
@@ -156,2 +156,9 @@ OPcmciaSocket* OPcmciaSystem::socket( unsigned int number )
156 156
157void OPcmciaSystem::restart()
158{
159 //FIXME Use OProcess or something that allows more control
160 ::system( "/etc/init.d/pcmcia restart" );
161}
162
163
157OPcmciaSystem* OPcmciaSystem::instance() 164OPcmciaSystem* OPcmciaSystem::instance()
diff --git a/libopie2/opiecore/linux/opcmciasystem.h b/libopie2/opiecore/linux/opcmciasystem.h
index 23d8c41..fecbb21 100644
--- a/libopie2/opiecore/linux/opcmciasystem.h
+++ b/libopie2/opiecore/linux/opcmciasystem.h
@@ -71,3 +71,3 @@ class OPcmciaSystem : public QObject
71 /** 71 /**
72 * @returns a pointer to the (one and only) @ref OSystem instance. 72 * @returns a pointer to the (one and only) @ref OSystem instance
73 */ 73 */
@@ -75,3 +75,3 @@ class OPcmciaSystem : public QObject
75 /** 75 /**
76 * @returns an iterator usable for iterating through all sound cards. 76 * @returns an iterator usable for iterating through all sound cards
77 */ 77 */
@@ -84,2 +84,6 @@ class OPcmciaSystem : public QObject
84 /** 84 /**
85 * Restarts the subsystem
86 */
87 void restart();
88 /**
85 * @internal Rebuild the internal database 89 * @internal Rebuild the internal database