-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the ability to display virtual cycling events from the history …
…view.
- Loading branch information
Showing
4 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Created by Michael Simms on 2/21/24. | ||
// Copyright (c) 2024 Michael J. Simms. All rights reserved. | ||
|
||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
#include "VirtualCycling.h" | ||
|
||
VirtualCycling::VirtualCycling() : StationaryCycling() | ||
{ | ||
} | ||
|
||
VirtualCycling::~VirtualCycling() | ||
{ | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Created by Michael Simms on 2/21/24. | ||
// Copyright (c) 2024 Michael J. Simms. All rights reserved. | ||
|
||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
#ifndef __VIRTUALCYCLING__ | ||
#define __VIRTUALCYCLING__ | ||
|
||
#include "StationaryCycling.h" | ||
|
||
class VirtualCycling : public StationaryCycling | ||
{ | ||
public: | ||
VirtualCycling(); | ||
virtual ~VirtualCycling(); | ||
|
||
static std::string Type(void) { return ACTIVITY_TYPE_VIRTUAL_CYCLING; }; | ||
virtual std::string GetType(void) const { return VirtualCycling::Type(); }; | ||
}; | ||
|
||
#endif |
This file contains 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