summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnout <arnouten@bzzt.net>2013-02-03 21:00:30 +0100
committerArnout <arnouten@bzzt.net>2013-02-03 21:00:30 +0100
commit0a7b49e5c327dfd4329a226064b003dd9d0b6f76 (patch)
treea58cbcf9d6644c2023c98c4709fad49acca9b877
parente193e82efe0d1047d8bd5081446b4a474c9159b8 (diff)
Use new method names
-rw-r--r--sfArkXTm.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/sfArkXTm.cpp b/sfArkXTm.cpp
index a90b85d..821e76c 100644
--- a/sfArkXTm.cpp
+++ b/sfArkXTm.cpp
@@ -37,10 +37,10 @@ char *ThisVersion = "1.01 beta"; // Version of program
#include "sfArkLib.h"
// Application-supplied functions...
-void msg(const char *MessageText, int Flags); // Message display function
-void UpdateProgress(int ProgressPercent); // Progress indication
-bool GetLicenseAgreement(const char *LicenseText); // Display/confirm license
-void DisplayNotes(const char *NotesFileName); // Display notes text file
+void sfkl_msg(const char *MessageText, int Flags); // Message display function
+void sfkl_UpdateProgress(int ProgressPercent); // Progress indication
+bool sfkl_GetLicenseAgreement(const char *LicenseText); // Display/confirm license
+void sfkl_DisplayNotes(const char *NotesFileName, const char *OutFileName); // Display notes text file
int ReportError(long error)
{
@@ -153,14 +153,14 @@ int main(int argc, char** argv)
}
// ============================================================================================
-void msg(const char *MessageText, int Flags)
+void sfkl_msg(const char *MessageText, int Flags)
{
if (Flags & SFARKLIB_MSG_PopUp) printf("*** ");
printf("%s\n", MessageText);
}
// ============================================================================================
-void UpdateProgress(int ProgressPercent)
+void sfkl_UpdateProgress(int ProgressPercent)
{
//char ProgressBar[101];
//int i;
@@ -182,7 +182,7 @@ void UpdateProgress(int ProgressPercent)
// ==========================================================================================
// Display/confirm license
-bool GetLicenseAgreement(const char *LicenseText)
+bool sfkl_GetLicenseAgreement(const char *LicenseText, const char *OutFileName)
{
char c;
@@ -201,7 +201,7 @@ bool GetLicenseAgreement(const char *LicenseText)
}
// ============================================================================================
-void DisplayNotes(const char *NotesFilePath) // Display notes text file
+void sfkl_DisplayNotes(const char *NotesFilePath, const char* OutFileName) // Display notes text file
{
printf("Notes text file extracted to: %s\n ", NotesFilePath);
}