-rw-r--r-- | libopie2/opienet/onetutils.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libopie2/opienet/onetutils.cpp b/libopie2/opienet/onetutils.cpp index 236f108..e05efc2 100644 --- a/libopie2/opienet/onetutils.cpp +++ b/libopie2/opienet/onetutils.cpp | |||
@@ -145,54 +145,42 @@ bool operator==( const OMacAddress &m1, const OMacAddress &m2 ) | |||
145 | 145 | ||
146 | OPrivateIOCTL::OPrivateIOCTL( QObject* parent, const char* name, int cmd, int getargs, int setargs ) | 146 | OPrivateIOCTL::OPrivateIOCTL( QObject* parent, const char* name, int cmd, int getargs, int setargs ) |
147 | :QObject( parent, name ), _ioctl( cmd ), _getargs( getargs ), _setargs( setargs ) | 147 | :QObject( parent, name ), _ioctl( cmd ), _getargs( getargs ), _setargs( setargs ) |
148 | { | 148 | { |
149 | } | 149 | } |
150 | 150 | ||
151 | 151 | ||
152 | OPrivateIOCTL::~OPrivateIOCTL() | 152 | OPrivateIOCTL::~OPrivateIOCTL() |
153 | { | 153 | { |
154 | } | 154 | } |
155 | 155 | ||
156 | 156 | ||
157 | #ifdef QT_NO_DEBUG | ||
158 | inline | ||
159 | #endif | ||
160 | int OPrivateIOCTL::numberGetArgs() const | 157 | int OPrivateIOCTL::numberGetArgs() const |
161 | { | 158 | { |
162 | return _getargs & IW_PRIV_SIZE_MASK; | 159 | return _getargs & IW_PRIV_SIZE_MASK; |
163 | } | 160 | } |
164 | 161 | ||
165 | 162 | ||
166 | #ifdef QT_NO_DEBUG | ||
167 | inline | ||
168 | #endif | ||
169 | int OPrivateIOCTL::typeGetArgs() const | 163 | int OPrivateIOCTL::typeGetArgs() const |
170 | { | 164 | { |
171 | return _getargs & IW_PRIV_TYPE_MASK >> 12; | 165 | return _getargs & IW_PRIV_TYPE_MASK >> 12; |
172 | } | 166 | } |
173 | 167 | ||
174 | 168 | ||
175 | #ifdef QT_NO_DEBUG | ||
176 | inline | ||
177 | #endif | ||
178 | int OPrivateIOCTL::numberSetArgs() const | 169 | int OPrivateIOCTL::numberSetArgs() const |
179 | { | 170 | { |
180 | return _setargs & IW_PRIV_SIZE_MASK; | 171 | return _setargs & IW_PRIV_SIZE_MASK; |
181 | } | 172 | } |
182 | 173 | ||
183 | 174 | ||
184 | #ifdef QT_NO_DEBUG | ||
185 | inline | ||
186 | #endif | ||
187 | int OPrivateIOCTL::typeSetArgs() const | 175 | int OPrivateIOCTL::typeSetArgs() const |
188 | { | 176 | { |
189 | return _setargs & IW_PRIV_TYPE_MASK >> 12; | 177 | return _setargs & IW_PRIV_TYPE_MASK >> 12; |
190 | } | 178 | } |
191 | 179 | ||
192 | 180 | ||
193 | void OPrivateIOCTL::invoke() const | 181 | void OPrivateIOCTL::invoke() const |
194 | { | 182 | { |
195 | ( (OWirelessNetworkInterface*) parent() )->wioctl( _ioctl ); | 183 | ( (OWirelessNetworkInterface*) parent() )->wioctl( _ioctl ); |
196 | } | 184 | } |
197 | 185 | ||
198 | 186 | ||