Sha256: ebfe87898c59d6cd4d5eec5c4ad2cb5dbcc14961aebf3d82090cfc434f16603f

Contents?: true

Size: 476 Bytes

Versions: 1

Compression:

Stored size: 476 Bytes

Contents

#include "sunscraperlibrary.h"
#include "sunscraperthread.h"

SunscraperLibrary SunscraperLibrary::_instance;

SunscraperLibrary::SunscraperLibrary()
{
    _apartmentThread = new SunscraperThread();
    _apartmentThread->start();
}

SunscraperLibrary::~SunscraperLibrary()
{
    /* Do nothing. This is on purpose. */
}

SunscraperLibrary *SunscraperLibrary::instance()
{
    return &_instance;
}

SunscraperThread *SunscraperLibrary::thread()
{
    return _apartmentThread;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sunscraper-1.0.0 ext/sunscraperlibrary.cpp