author | tille <tille> | 2003-05-25 14:25:23 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-25 14:25:23 (UTC) |
commit | 61c6231cdcde59f8a3ecff31b9fab37f7e9d8852 (patch) (unidiff) | |
tree | 4724031209e2263c872ad6160ea61a793f09ed1e /noncore/settings/networksettings/ppp/pppdata.h | |
parent | efa6dfa3428746451dd5a9b5e1ba57806ae96dba (diff) | |
download | opie-61c6231cdcde59f8a3ecff31b9fab37f7e9d8852.zip opie-61c6231cdcde59f8a3ecff31b9fab37f7e9d8852.tar.gz opie-61c6231cdcde59f8a3ecff31b9fab37f7e9d8852.tar.bz2 |
save device specific settings
Diffstat (limited to 'noncore/settings/networksettings/ppp/pppdata.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/pppdata.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/noncore/settings/networksettings/ppp/pppdata.h b/noncore/settings/networksettings/ppp/pppdata.h index c4d7bc3..41dfbd8 100644 --- a/noncore/settings/networksettings/ppp/pppdata.h +++ b/noncore/settings/networksettings/ppp/pppdata.h | |||
@@ -220,49 +220,49 @@ public: | |||
220 | void setEnter(const QString &); | 220 | void setEnter(const QString &); |
221 | 221 | ||
222 | QString pppdVersion(); | 222 | QString pppdVersion(); |
223 | bool pppdVersionMin(int ver, int mod, int patch); | 223 | bool pppdVersionMin(int ver, int mod, int patch); |
224 | 224 | ||
225 | int pppdTimeout(); | 225 | int pppdTimeout(); |
226 | void setpppdTimeout(int); | 226 | void setpppdTimeout(int); |
227 | 227 | ||
228 | int busyWait(); | 228 | int busyWait(); |
229 | void setbusyWait(int); | 229 | void setbusyWait(int); |
230 | 230 | ||
231 | bool modemLockFile(); | 231 | bool modemLockFile(); |
232 | void setModemLockFile(bool set); | 232 | void setModemLockFile(bool set); |
233 | 233 | ||
234 | int modemEscapeGuardTime(); | 234 | int modemEscapeGuardTime(); |
235 | void setModemEscapeGuardTime(int i); | 235 | void setModemEscapeGuardTime(int i); |
236 | 236 | ||
237 | void setModemEscapeStr(const QString &); | 237 | void setModemEscapeStr(const QString &); |
238 | const QString modemEscapeStr(); | 238 | const QString modemEscapeStr(); |
239 | 239 | ||
240 | void setModemEscapeResp(const QString &); | 240 | void setModemEscapeResp(const QString &); |
241 | const QString modemEscapeResp(); | 241 | const QString modemEscapeResp(); |
242 | 242 | ||
243 | const QString modemDevice(); | 243 | const QString modemDevice(); |
244 | void setModemDevice(const QString &); | 244 | bool setModemDevice(const QString &); |
245 | 245 | ||
246 | const QString flowcontrol(); | 246 | const QString flowcontrol(); |
247 | void setFlowcontrol(const QString &); | 247 | void setFlowcontrol(const QString &); |
248 | 248 | ||
249 | int modemTimeout(); | 249 | int modemTimeout(); |
250 | void setModemTimeout(int); | 250 | void setModemTimeout(int); |
251 | 251 | ||
252 | int modemToneDuration(); | 252 | int modemToneDuration(); |
253 | void setModemToneDuration(int); | 253 | void setModemToneDuration(int); |
254 | 254 | ||
255 | QString volumeInitString(); | 255 | QString volumeInitString(); |
256 | int volume(); | 256 | int volume(); |
257 | void setVolume(int); | 257 | void setVolume(int); |
258 | 258 | ||
259 | int waitForDialTone(); | 259 | int waitForDialTone(); |
260 | void setWaitForDialTone(int i); | 260 | void setWaitForDialTone(int i); |
261 | 261 | ||
262 | // modem command strings/responses | 262 | // modem command strings/responses |
263 | const QString modemInitStr(int i); | 263 | const QString modemInitStr(int i); |
264 | void setModemInitStr(int i, const QString &); | 264 | void setModemInitStr(int i, const QString &); |
265 | 265 | ||
266 | const QString modemInitResp(); | 266 | const QString modemInitResp(); |
267 | void setModemInitResp(const QString &); | 267 | void setModemInitResp(const QString &); |
268 | 268 | ||
@@ -398,71 +398,71 @@ public: | |||
398 | QStringList &dns(); | 398 | QStringList &dns(); |
399 | void setDns(QStringList &); | 399 | void setDns(QStringList &); |
400 | 400 | ||
401 | const QString domain(); | 401 | const QString domain(); |
402 | void setDomain(const QString &); | 402 | void setDomain(const QString &); |
403 | 403 | ||
404 | QStringList &scriptType(); | 404 | QStringList &scriptType(); |
405 | void setScriptType(QStringList &); | 405 | void setScriptType(QStringList &); |
406 | 406 | ||
407 | QStringList &script(); | 407 | QStringList &script(); |
408 | void setScript(QStringList &); | 408 | void setScript(QStringList &); |
409 | 409 | ||
410 | QStringList &pppdArgument(); | 410 | QStringList &pppdArgument(); |
411 | void setpppdArgumentDefaults(); | 411 | void setpppdArgumentDefaults(); |
412 | void setpppdArgument(QStringList &); | 412 | void setpppdArgument(QStringList &); |
413 | 413 | ||
414 | //functions to change/set the child pppd process info | 414 | //functions to change/set the child pppd process info |
415 | bool pppdRunning() const; | 415 | bool pppdRunning() const; |
416 | void setpppdRunning(bool set); | 416 | void setpppdRunning(bool set); |
417 | 417 | ||
418 | int pppdError() const; | 418 | int pppdError() const; |
419 | void setpppdError(int err); | 419 | void setpppdError(int err); |
420 | 420 | ||
421 | // functions to set/query the accounting info | 421 | // functions to set/query the accounting info |
422 | const QString accountingFile(); | 422 | // const QString accountingFile(); |
423 | void setAccountingFile(const QString &); | 423 | // void setAccountingFile(const QString &); |
424 | 424 | ||
425 | const QString totalCosts(); | 425 | // const QString totalCosts(); |
426 | void setTotalCosts(const QString &); | 426 | // void setTotalCosts(const QString &); |
427 | 427 | ||
428 | int totalBytes(); | 428 | // int totalBytes(); |
429 | void setTotalBytes(int); | 429 | // void setTotalBytes(int); |
430 | 430 | ||
431 | // // graphing widget | 431 | // // graphing widget |
432 | // void setGraphingOptions(bool enabled, | 432 | // void setGraphingOptions(bool enabled, |
433 | // QColor bg, | 433 | // QColor bg, |
434 | // QColor text, | 434 | // QColor text, |
435 | // QColor in, | 435 | // QColor in, |
436 | // QColor out); | 436 | // QColor out); |
437 | // void graphingOptions(bool &enabled, | 437 | // void graphingOptions(bool &enabled, |
438 | // QColor &bg, | 438 | // QColor &bg, |
439 | // QColor &text, | 439 | // QColor &text, |
440 | // QColor &in, | 440 | // QColor &in, |
441 | // QColor &out); | 441 | // QColor &out); |
442 | // bool graphingEnabled(); | 442 | // bool graphingEnabled(); |
443 | 443 | ||
444 | // // window positions | 444 | // // window positions |
445 | // void winPosConWin(int &, int &); | 445 | // void winPosConWin(int &, int &); |
446 | // void setWinPosConWin(int, int); | 446 | // void setWinPosConWin(int, int); |
447 | // void winPosStatWin(int &, int &); | 447 | // void winPosStatWin(int &, int &); |
448 | // void setWinPosStatWin(int, int); | 448 | // void setWinPosStatWin(int, int); |
449 | 449 | ||
450 | private: | 450 | private: |
451 | 451 | ||
452 | static PPPData *_data; | 452 | static PPPData *_data; |
453 | 453 | int modemDeviceGroup; | |
454 | QString passwd; | 454 | QString passwd; |
455 | static Config* config; // configuration object | 455 | static Config* config; // configuration object |
456 | int highcount; // index of highest account | 456 | int highcount; // index of highest account |
457 | int caccount; // index of the current account | 457 | int caccount; // index of the current account |
458 | QString cgroup; // name of current config group | 458 | QString cgroup; // name of current config group |
459 | pid_t suidprocessid; // process ID of setuid child | 459 | pid_t suidprocessid; // process ID of setuid child |
460 | bool pppdisrunning; // pppd process | 460 | bool pppdisrunning; // pppd process |
461 | // daemon | 461 | // daemon |
462 | int pppderror; // error encounterd running pppd | 462 | int pppderror; // error encounterd running pppd |
463 | int pppdVer, pppdMod, pppdPatch; // pppd version | 463 | int pppdVer, pppdMod, pppdPatch; // pppd version |
464 | 464 | ||
465 | QStringList phonelist; | 465 | QStringList phonelist; |
466 | }; | 466 | }; |
467 | 467 | ||
468 | #endif | 468 | #endif |