mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Minor tidying of namespace usage declarations.
This commit is contained in:
parent
56c0d70c1f
commit
82c8459055
@ -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),
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -10,8 +10,7 @@
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
|
||||
using namespace Storage;
|
||||
using namespace Tape;
|
||||
using namespace Storage::Tape;
|
||||
|
||||
CommodoreTAP::CommodoreTAP(const char *file_name)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user