/[pcsx2_0.9.7]/trunk/plugins/spu2-x/src/Linux/Dialogs.h
ViewVC logotype

Contents of /trunk/plugins/spu2-x/src/Linux/Dialogs.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 62 - (show annotations) (download)
Tue Sep 7 11:08:22 2010 UTC (9 years, 9 months ago) by william
File MIME type: text/plain
File size: 1848 byte(s)
Auto Commited Import of: pcsx2-0.9.7-r3738-debug in ./trunk
1 /* SPU2-X, A plugin for Emulating the Sound Processing Unit of the Playstation 2
2 * Developed and maintained by the Pcsx2 Development Team.
3 *
4 * Original portions from SPU2ghz are (c) 2008 by David Quintana [gigaherz]
5 *
6 * SPU2-X is free software: you can redistribute it and/or modify it under the terms
7 * of the GNU Lesser General Public License as published by the Free Software Found-
8 * ation, either version 3 of the License, or (at your option) any later version.
9 *
10 * SPU2-X is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 * PURPOSE. See the GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with SPU2-X. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #ifndef DIALOG_H_INCLUDED
19 #define DIALOG_H_INCLUDED
20
21 #include "../Global.h"
22 #include "../Config.h"
23
24 namespace DebugConfig
25 {
26 extern void ReadSettings();
27 extern void WriteSettings();
28 extern void DisplayDialog();
29 }
30
31 extern void CfgSetSettingsDir(const char* dir);
32 extern void CfgSetLogDir(const char* dir);
33
34 extern void CfgWriteBool(const wchar_t* Section, const wchar_t* Name, bool Value);
35 extern void CfgWriteInt(const wchar_t* Section, const wchar_t* Name, int Value);
36 extern void CfgWriteStr(const wchar_t* Section, const wchar_t* Name, const wxString& Data);
37
38 extern bool CfgReadBool(const wchar_t *Section,const wchar_t* Name, bool Default);
39 extern void CfgReadStr(const wchar_t* Section, const wchar_t* Name, wxString& Data, const wchar_t* Default);
40 //extern void CfgReadStr(const wchar_t* Section, const wchar_t* Name, wchar_t* Data, int DataSize, const wchar_t* Default);
41 extern int CfgReadInt(const wchar_t* Section, const wchar_t* Name,int Default);
42
43 #endif

  ViewVC Help
Powered by ViewVC 1.1.22