1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

Minor tidying of namespace usage declarations.

This commit is contained in:
Thomas Harte 2016-08-27 17:18:12 -04:00
parent 56c0d70c1f
commit 82c8459055
6 changed files with 7 additions and 13 deletions

View File

@ -8,8 +8,7 @@
#include "DiskDrive.hpp"
using namespace Storage;
using namespace Disk;
using namespace Storage::Disk;
Drive::Drive(unsigned int clock_rate, unsigned int clock_rate_multiplier, unsigned int revolutions_per_minute) :
_clock_rate(clock_rate * clock_rate_multiplier),

View File

@ -12,8 +12,7 @@
#include "../PCMTrack.hpp"
#include "../Encodings/CommodoreGCR.hpp"
using namespace Storage;
using namespace Disk;
using namespace Storage::Disk;
G64::G64(const char *file_name)
{

View File

@ -10,8 +10,7 @@
#include <cstdio>
#include <cstring>
using namespace Storage;
using namespace Tape;
using namespace Storage::Tape;
CommodoreTAP::CommodoreTAP(const char *file_name)
{

View File

@ -46,8 +46,7 @@
#include <sys/stat.h>
using namespace Storage;
using namespace Tape;
using namespace Storage::Tape;
PRG::PRG(const char *file_name) : _file(nullptr), _bitPhase(3), _filePhase(FilePhaseLeadIn), _phaseOffset(0), _copy_mask(0x80)
{

View File

@ -10,8 +10,7 @@
#include <string.h>
#include <math.h>
using namespace Storage;
using namespace Tape;
using namespace Storage::Tape;
static float gzgetfloat(gzFile file)
{

View File

@ -9,8 +9,7 @@
#include "Tape.hpp"
#include "../../NumberTheory/Factors.hpp"
using namespace Storage;
using namespace Tape;
using namespace Storage::Tape;
void Storage::Tape::Tape::seek(Time seek_time)
{
@ -52,7 +51,7 @@ void TapePlayer::run_for_cycles(int number_of_cycles)
{
if(has_tape())
{
::TimedEventLoop::run_for_cycles(number_of_cycles);
TimedEventLoop::run_for_cycles(number_of_cycles);
}
}