aboutsummaryrefslogtreecommitdiff
path: root/tools/iDSK/src/ViewFile.cpp
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-05-03 08:21:10 +0100
committerJuan J. Martinez <jjm@usebox.net>2021-05-03 10:00:00 +0100
commitc3b0fa04a663fe233765b83d3be41a42aa08c25d (patch)
tree0befda349001ef6ce306b39378f9c70ad917363e /tools/iDSK/src/ViewFile.cpp
downloadreturn-of-traxtor-cpc-c3b0fa04a663fe233765b83d3be41a42aa08c25d.tar.gz
return-of-traxtor-cpc-c3b0fa04a663fe233765b83d3be41a42aa08c25d.zip
Initial import for public releaseHEADmain
Diffstat (limited to 'tools/iDSK/src/ViewFile.cpp')
-rw-r--r--tools/iDSK/src/ViewFile.cpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/tools/iDSK/src/ViewFile.cpp b/tools/iDSK/src/ViewFile.cpp
new file mode 100644
index 0000000..9ad2de7
--- /dev/null
+++ b/tools/iDSK/src/ViewFile.cpp
@@ -0,0 +1,36 @@
+#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"
+
+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 );
+ return Listing;
+ //cout << Listing << endl;
+}
+string ViewBasic( )
+{
+ bool IsBasic=true;
+ //cout << "Entre Ici\n";
+ cerr << "Taille du fichier : " << TailleFic << endl;
+ Basic( BufFile, Listing, IsBasic, true );
+ //cout << Listing << endl;
+ return Listing;
+
+}