aboutsummaryrefslogtreecommitdiff
path: root/tools/iDSK/src/ViewFile.cpp
blob: 733bba655b4e711dcf198056de4db3f796e38ddc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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;
}