#include <profilemanager.h>
Public Member Functions | |
CProfile () | |
~CProfile () | |
void | SetName (const wxString &name) |
Set new name . | |
wxString | GetName () const |
get name | |
void | SetMap (const wxString &map) |
Set new mapfile map . | |
wxString | GetMap () const |
map filename | |
void | SetDat (const wxString &dat) |
Set new datfile dat . | |
wxString | GetDat () const |
dat filename | |
bool | IsValid () const |
return true if map != "" | |
void | SetUser (const wxString &user) |
set user name | |
wxString | GetUser () const |
user name | |
void | SetPassword (const wxString &pw) |
set password | |
wxString | GetPassword () const |
password | |
void | SetServer (const wxString &server) |
set server url | |
wxString | GetServer () const |
server url, format: www.server.org:port/rest/ | |
void | SetUsePhpmap (bool b_use) |
use phpmap | |
bool | GetUsePhpmap () const |
use phpmap? | |
void | SetFogOfWar (bool fow) |
set fow | |
bool | GetFogOfWar () const |
Fog Of War. | |
void | SetTimestamp (int ts) |
set new timestamp ts | |
int | GetTimestamp () const |
timestamp | |
void | SetDirty (bool dirty) |
bool | GetDirty () const |
dirty flag | |
GoToArray & | GetBookmarks () |
reference to bookmarks | |
GoToArray & | GetRecentGoTos () |
reference to recent gotos | |
void | AddBookmark (int x, int y, const wxString &comment) |
void | AddRecentGoTo (int x, int y) |
add goto to recent list | |
void | Load (wxFileConfig *pConfig) |
load profile from pConfig | |
void | Save (wxFileConfig *pConfig) |
save profile to pConfig | |
void | SetLastScrollPosition (int x, int y) |
int | GetLastScrollPositionX () const |
int | GetLastScrollPositionY () const |
void | SetLastZoom (float zoom) |
float | GetLastZoom () const |
last position (useful?)
zoom level (useful?)
favourite paths (useful?) .
Definition at line 81 of file profilemanager.h.
|
constructor, set defaults Definition at line 38 of file profilemanager.cpp. |
|
destructor, empty Definition at line 57 of file profilemanager.cpp. |
|
Add (x,y) to the goto list
Definition at line 176 of file profilemanager.cpp. |
|
Definition at line 322 of file profilemanager.cpp. Referenced by WDS::CFrame::LoadProfile(), and Save(). |
|
Definition at line 327 of file profilemanager.cpp. Referenced by WDS::CFrame::LoadProfile(), and Save(). |
|
Definition at line 337 of file profilemanager.cpp. Referenced by WDS::CFrame::LoadProfile(), and Save(). |
|
Set dirty flag.
Definition at line 156 of file profilemanager.cpp. |
|
save the scroll position (x,y) from glCanvas (session management)
Definition at line 316 of file profilemanager.cpp. Referenced by Load(), and WDS::CFrame::SwitchProfile(). |
|
Definition at line 332 of file profilemanager.cpp. Referenced by Load(), and WDS::CFrame::SwitchProfile(). |