diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-11-05 11:22:55 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-11-05 11:31:28 +0000 |
commit | 2fbdf974338bde8576efdae40a819a76b2391033 (patch) | |
tree | 64d41a37470143f142344f9a439d96de3e7918c2 /tools/iDSK/src/ViewFile.cpp | |
download | kitsunes-curse-2fbdf974338bde8576efdae40a819a76b2391033.tar.gz kitsunes-curse-2fbdf974338bde8576efdae40a819a76b2391033.zip |
Initial import of the open source release
Diffstat (limited to 'tools/iDSK/src/ViewFile.cpp')
-rw-r--r-- | tools/iDSK/src/ViewFile.cpp | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/tools/iDSK/src/ViewFile.cpp b/tools/iDSK/src/ViewFile.cpp new file mode 100644 index 0000000..733bba6 --- /dev/null +++ b/tools/iDSK/src/ViewFile.cpp @@ -0,0 +1,44 @@ +#include <iostream> +using namespace std; +#include "GestDsk.h" +#include "Outils.h" +#include "Basic.h" +#include "Desass.h" +#include "Dams.h" +#include "endianPPC.h" +#include "ViewFile.h" +#include "Ascii.h" + +string ViewDams() +{ + cerr << "Taille du fichier : " << TailleFic << endl; + Dams(BufFile, TailleFic, Listing); + return Listing; + //cout << Listing << endl; +} + +string ViewDesass() +{ + cerr << "Taille du fichier : " << TailleFic << endl; + Desass(BufFile, Listing, TailleFic, AdresseCharg); + return Listing; + //cout << Listing << endl; +} + +string ViewBasic(bool AddCrLf) +{ + bool IsBasic = true; + //cout << "Entre Ici\n"; + cerr << "Taille du fichier : " << TailleFic << endl; + Basic(BufFile, Listing, IsBasic, AddCrLf); + //cout << Listing << endl; + return Listing; +} + +string ViewAscii() +{ + cerr << "Taille du fichier : " << TailleFic << endl; + Ascii(BufFile, Listing, TailleFic); + //cout << Listing << endl; + return Listing; +} |