summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/hpp_options.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_options.pas')
-rw-r--r--plugins/HistoryPlusPlus/hpp_options.pas23
1 files changed, 2 insertions, 21 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_options.pas b/plugins/HistoryPlusPlus/hpp_options.pas
index 15f78b5e70..155dd17925 100644
--- a/plugins/HistoryPlusPlus/hpp_options.pas
+++ b/plugins/HistoryPlusPlus/hpp_options.pas
@@ -158,7 +158,7 @@ const
(_type: [hppFont,hppColor]; name: 'Incoming url';
Mes: [mtUrl,mtIncoming]; style:0; size: -11; color: $000000; back: $F4D9CC),
-
+
(_type: [hppFont,hppColor]; name: 'Outgoing url';
Mes: [mtUrl,mtOutgoing]; style:0; size: -11; color: $000000; back: $F4D9CC),
@@ -229,8 +229,6 @@ const
var
GridOptions: TGridOptions;
SmileyAddEnabled: Boolean;
- MathModuleEnabled: Boolean;
- MeSpeakEnabled: Boolean;
ShowHistoryCount: Boolean;
hppIcons: array of ThppIntIconsRec;
skinIcons: array of ThppIntIconsRec;
@@ -262,9 +260,6 @@ const
(Index: 5; Filter:'Unicode text file'; DefaultExt:'*.txt'; Owned:[sfUnicode,sfText]; OwnedIndex: 1),
(Index: 6; Filter:'Text file'; DefaultExt:'*.txt'; Owned:[sfUnicode,sfText]; OwnedIndex: 2));
-{$include m_mathmodule.inc}
-{$include m_speak.inc}
-
procedure RegisterFont(Name:PAnsiChar; Order:integer; const defFont:TFontSettings);
var
fid: TFontID;
@@ -448,7 +443,6 @@ begin
GridOptions.SmileysEnabled := GetDBBool(hppDBName, 'Smileys', SmileyAddEnabled);
GridOptions.BBCodesEnabled := GetDBBool(hppDBName, 'BBCodes', true);
- GridOptions.MathModuleEnabled := GetDBBool(hppDBName, 'MathModule', MathModuleEnabled);
GridOptions.RawRTFEnabled := GetDBBool(hppDBName, 'RawRTF', true);
GridOptions.AvatarsHistoryEnabled := GetDBBool(hppDBName, 'AvatarsHistory', true);
@@ -480,7 +474,6 @@ begin
WriteDBBool(hppDBName, 'BBCodes', GridOptions.BBCodesEnabled);
WriteDBBool(hppDBName, 'Smileys', GridOptions.SmileysEnabled);
- WriteDBBool(hppDBName, 'MathModule', GridOptions.MathModuleEnabled);
WriteDBBool(hppDBName, 'RawRTF', GridOptions.RawRTFEnabled);
WriteDBBool(hppDBName, 'AvatarsHistory', GridOptions.AvatarsHistoryEnabled);
@@ -611,21 +604,9 @@ begin
hppFontItems[i].back { TRANSLATE-IGNORE } );
end;
end;
+
// Register in SmileyAdd
SmileyAddEnabled := boolean(ServiceExists(MS_SMILEYADD_REPLACESMILEYS));
- { if SmileyAddEnabled then begin
- ZeroMemory(@sarc,SizeOf(sarc));
- sarc.cbSize := SizeOf(sarc);
- sarc.name := hppName;
- sarc.dispname := hppName;
- CallService(MS_SMILEYADD_REGISTERCATEGORY,0,LPARAM(@sarc));
- end; }
- // Register in MathModule
- MathModuleEnabled := boolean(ServiceExists(MATH_RTF_REPLACE_FORMULAE));
-
- // Checking presence of speech api
- MeSpeakEnabled := boolean(ServiceExists(MS_SPEAK_SAY_W)) or
- boolean(ServiceExists(MS_SPEAK_SAY_A));
end;
procedure PrepareSaveDialog(SaveDialog: TSaveDialog; SaveFormat: TSaveFormat; AllFormats: boolean = false);