diff options
author | Peter Åstrand <astrand@cendio.se> | 2012-08-08 11:49:01 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2012-08-08 11:49:01 +0000 |
commit | 8a2b0810dc4a5ad2adc921b6b74a2d6dbdcc6f28 (patch) | |
tree | e4118453fc5774a5346b8ecf7c694fe54c8e0ce4 /vncviewer/parameters.h | |
parent | 49b1157ffb3b50afcb0ccf99d7af5ee8c30e5902 (diff) | |
download | tigervnc-8a2b0810dc4a5ad2adc921b6b74a2d6dbdcc6f28.tar.gz tigervnc-8a2b0810dc4a5ad2adc921b6b74a2d6dbdcc6f28.zip |
Make it possible to load and save configuration files. Also, when
connecting, the options are saved as default settings. This patch
fixes SF bugs 3481470 and 3499216.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4950 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/parameters.h')
-rw-r--r-- | vncviewer/parameters.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vncviewer/parameters.h b/vncviewer/parameters.h index 5a9170eb..88dd5a8f 100644 --- a/vncviewer/parameters.h +++ b/vncviewer/parameters.h @@ -1,5 +1,6 @@ /* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved. * Copyright 2011 Pierre Ossman <ossman@cendio.se> for Cendio AB + * Copyright 2012 Samuel Mannehed <samuel@cendio.se> for Cendio AB * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -58,4 +59,7 @@ extern rfb::StringParameter menuKey; extern rfb::BoolParameter fullscreenSystemKeys; +void saveViewerParameters(const char *filename, const char *servername=NULL); +char* loadViewerParameters(const char *filename); + #endif |