school/cs235/lab08/Factory.cpp

23 lines
713 B
C++
Raw Normal View History

2016-04-06 20:46:10 -07:00
#include "Factory.h"
#include "qstest.h"
//You may add #include statments here
using namespace std;
/*
* Unlike all other documents provided, you may modify this document slightly (but do not change its name)
*/
//=======================================================================================
/*
createQSTest()
Creates and returns an object whose class extends QSTestInterface.
This should be an object of a class you have created.
Example: If you made a class called "QSTest", you might say, "return new QSTest();".
*/
QSTestInterface* Factory::createQSTest()
{
return new qstest();//Modify this line
}
//=======================================================================================