]>
Commit | Line | Data |
---|---|---|
cb83bf44 MB |
1 | /* |
2 | * Copyright (c) 2003, Robert Collins <rbtcollins@hotmail.com> | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License as published by | |
6 | * the Free Software Foundation; either version 2 of the License, or | |
7 | * (at your option) any later version. | |
8 | * | |
9 | * A copy of the GNU General Public License can be found at | |
10 | * http://www.gnu.org/ | |
11 | * | |
12 | * Written by Robert Collins. | |
13 | * | |
14 | */ | |
15 | ||
16 | #ifndef SETUP_CONNECTIONSETTING_H | |
17 | #define SETUP_CONNECTIONSETTING_H | |
18 | ||
19 | // This is the header for the ConnectionSetting class, which persists and reads | |
20 | // in user settings to decide how setup should connect... | |
21 | ||
22 | #include "UserSetting.h" | |
23 | ||
24 | class String; | |
25 | class ConnectionSetting : public UserSetting | |
26 | { | |
27 | public: | |
28 | virtual void load(); | |
29 | virtual void save(); | |
30 | private: | |
31 | int typeFromString(String const &aType); | |
32 | }; | |
33 | ||
34 | #endif /* SETUP_CONNECTIONSETTING_H */ |