Changeset 549 for trunk/src/gui/config/serverpage.h
- Timestamp:
- 04/01/06 07:46:27 (3 years ago)
- Files:
-
- 1 modified
-
trunk/src/gui/config/serverpage.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/config/serverpage.h
r535 r549 31 31 #include <control/torcontrol.h> 32 32 #include <config/serversettings.h> 33 #include <config/exitpolicy.h> 33 34 #include "../help/browser/helpbrowser.h" 34 35 … … 69 70 /** Returns the index of the selected item in lstExitPolicies */ 70 71 int selectedIndex(); 71 72 /** Adds a new exit policy to the exit policy list */ 73 void addPolicyItem(QString action, QString address, QString mask, 74 QString fromPort, QString toPort); 75 void addPolicyItem(Policy policy); 76 /** Saves the policy specified in item to the exitPolicy */ 77 void savePolicy(QTreeWidgetItem *item, ExitPolicy &exitPolicy); 78 /** Moves or appends the necessary default rule as specified by the user */ 79 void setDefaultRule(); 80 72 81 /** A TorControl object used to talk to Tor */ 73 82 TorControl* _torControl;
