]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/fileconf.tex
sorting support for generic version (patch 1765087 from Bo)
[wxWidgets.git] / docs / latex / wx / fileconf.tex
index f914d1f156af8dbcee01deac4aa4e9385a47f14d..bd28be8342d425bd160cd1d1acc00a8e9bfc907c 100644 (file)
@@ -6,7 +6,7 @@
 %% Created:     2004-10-04
 %% RCS-ID:      $Id$
 %% Copyright:   (c) 2004 Vadim Zeitlin
 %% Created:     2004-10-04
 %% RCS-ID:      $Id$
 %% Copyright:   (c) 2004 Vadim Zeitlin
-%% License:     wxWidgets license
+%% License:     wxWindows license
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \section{\class{wxFileConfig}}\label{wxfileconfig}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \section{\class{wxFileConfig}}\label{wxfileconfig}
@@ -29,12 +29,16 @@ Windows.
 
 <wx/fileconf.h>
 
 
 <wx/fileconf.h>
 
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
 
 \helponly{\insertatlevel{2}{\wxheading{Members}}}
 
 
 \helponly{\insertatlevel{2}{\wxheading{Members}}}
 
-\membersection{wxFileConfig::wxFileConfig}{wxfileconfigctorstream}
+\membersection{wxFileConfig::wxFileConfig}\label{wxfileconfigctor}
 
 
-\func{}{wxFileConfig}{\param{wxInputStream\& }{is}, \param{wxMBConv\& }{conv = wxConvUTF8}}
+\func{}{wxFileConfig}{\param{wxInputStream\& }{is}, \param{const wxMBConv\& }{conv = wxConvAuto()}}
 
 Read the config data from the specified stream instead of the associated file,
 as usual.
 
 Read the config data from the specified stream instead of the associated file,
 as usual.
@@ -44,9 +48,35 @@ as usual.
 \helpref{Save}{wxfileconfigsave}
 
 
 \helpref{Save}{wxfileconfigsave}
 
 
-\membersection{wxFileConfig::Save}{wxfileconfigsave}
+\membersection{wxFileName::GetGlobalFile}\label{wxfilenamegetglobalfile}
+
+\func{static wxFileName}{GetGlobalFile}{\param{const wxString\& }{basename}}
+
+Return the full path to the file which would be used by wxFileConfig as global,
+system-wide, file if it were constructed with \arg{basename} as ``global
+filename'' parameter in the constructor. Notice that this function cannot be
+used if \arg{basename} is already a full path name.
+
+
+\membersection{wxFileName::GetLocalFile}\label{wxfilenamegetlocalfile}
+
+\func{static wxFileName}{GetLocalFile}{\param{const wxString\& }{basename}, \param{int }{style = $0$}}
+
+Return the full path to the file which would be used by wxFileConfig as local,
+user-specific, file if it were constructed with \arg{basename} as ``local
+filename'' parameter in the constructor.
+
+\arg{style} has the same meaning as in \helpref{constructor}{wxconfigbasector} 
+and can contain any combination of styles but only wxCONFIG\_USE\_SUBDIR bit is
+examined by this function.
+
+Notice that this function cannot be used if \arg{basename} is already a full
+path name.
+
+
+\membersection{wxFileConfig::Save}\label{wxfileconfigsave}
 
 
-\func{bool}{Save}{\param{wxOutputStream\& }{os}, \param{wxMBConv\& }{conv = wxConvUTF8}}
+\func{bool}{Save}{\param{wxOutputStream\& }{os}, \param{const wxMBConv\& }{conv = wxConvAuto()}}
 
 Saves all config data to the given stream, returns \true if data was saved
 successfully or \false on error.
 
 Saves all config data to the given stream, returns \true if data was saved
 successfully or \false on error.