a241fe504b3dda63c204c1de7e6abc9fbd059ad1
[rocksndiamonds.git] / src / game_sp / SettingsObject.c
1 // ----------------------------------------------------------------------------
2 // SettingsObject.c
3 // ----------------------------------------------------------------------------
4
5 #include "SettingsObject.h"
6
7 // --- VERSION 1.0 CLASS
8 // --- BEGIN
9 // ---   MultiUse = -1  'True  // True
10 // ---   Persistable = 0  'NotPersistable  // NotPersistable
11 // ---   DataBindingBehavior = 0  'vbNone  // vbNone
12 // ---   DataSourceBehavior  = 0  'vbNone  // vbNone
13 // ---   MTSTransactionMode  = 0  'NotAnMTSObject  // NotAnMTSObject
14 // --- END
15
16 // static char *VB_Name = "SettingsObject";
17 // static boolean VB_GlobalNameSpace = False;
18 // static boolean VB_Creatable = True;
19 // static boolean VB_PredeclaredId = False;
20 // static boolean VB_Exposed = False;
21
22 // --- Option Explicit
23 // --- Option Compare Text
24
25 #if 0
26
27 const char *AppName = "MegaPlex";
28 const char *Config = "Config";
29
30 void SettingsObject_Save(char *ValName, int Val)
31 {
32   SaveSetting(AppName, Config, ValName, Val);
33 }
34
35 int SettingsObject_Read(char *ValName, int Default)
36 {
37   int Read;
38
39   Read = GetSetting(AppName, Config, ValName, Default);
40
41   return Read;
42 }
43
44 #endif