This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GameDate::GameDate(std::string date) | |
| : m_date(date) | |
| { | |
| } | |
| GameDate::~GameDate() { | |
| } | |
| void GameDate::AddGame(const unsigned int& gameNumber, Game* game) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Game { | |
| public: | |
| Game(); | |
| virtual ~Game(); | |
| void SetTime(const std::string & time); | |
| void SetHomeTeam(const std::string & name); | |
| void SetAwayTeam(const std::string & name); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Game::Game() { | |
| } | |
| Game::~Game() { | |
| } | |
| void Game::SetTime(const std::string & time) | |
| { | |
| m_time = time; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "GalaxyS8TextApp.h" | |
| #include "IPhone8TextApp.h" | |
| #include "SprintPhoneTextAppImpl.h" | |
| #include "VerizonPhoneTextAppImpl.h" | |
| void SendText(CellPhoneTextApp & textApp) | |
| { | |
| textApp.Open(); | |
| textApp.AddRecipient(std::string("555-123-4567")); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "VerizonPhoneTextAppImpl.h" | |
| #include <iostream> | |
| VerizonPhoneTextAppImpl::VerizonPhoneTextAppImpl() { | |
| } | |
| VerizonPhoneTextAppImpl::~VerizonPhoneTextAppImpl() { | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "CellPhoneTextAppImpl.h" | |
| class VerizonPhoneTextAppImpl : public CellPhoneTextAppImpl { | |
| public: | |
| VerizonPhoneTextAppImpl(); | |
| virtual ~VerizonPhoneTextAppImpl(); | |
| virtual void SendTextImpl(std::vector<std::string> recipients, | |
| std::string textField); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "SprintPhoneTextAppImpl.h" | |
| #include <iostream> | |
| SprintPhoneTextAppImpl::SprintPhoneTextAppImpl() { | |
| } | |
| SprintPhoneTextAppImpl::~SprintPhoneTextAppImpl() { | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "CellPhoneTextAppImpl.h" | |
| class SprintPhoneTextAppImpl : public CellPhoneTextAppImpl{ | |
| public: | |
| SprintPhoneTextAppImpl(); | |
| virtual ~SprintPhoneTextAppImpl(); | |
| virtual void SendTextImpl(std::vector<std::string> recipients, | |
| std::string textField); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <string> | |
| #include <vector> | |
| class CellPhoneTextAppImpl | |
| { | |
| public: | |
| virtual void SendTextImpl(std::vector<std::string> recipients, | |
| std::string textField) = 0; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "IPhone8TextApp.h" | |
| #include <iostream> | |
| IPhone8TextApp::IPhone8TextApp(CellPhoneTextAppImpl * impl) | |
| : CellPhoneTextApp(impl) { | |
| } |